ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
error.h File Reference
#include "attribute.h"
#include "global.h"
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ABC_NAMESPACE_HEADER_START void kissat_error (const char *fmt,...) ATTRIBUTE_FORMAT(1
 
ABC_NAMESPACE_HEADER_START void void kissat_fatal (const char *fmt,...) ATTRIBUTE_FORMAT(1
 
ABC_NAMESPACE_HEADER_START void void void kissat_fatal_message_start (void)
 
void kissat_call_function_instead_of_abort (void(*)(void))
 
void kissat_abort (void)
 

Function Documentation

◆ kissat_abort()

void kissat_abort ( void )

Definition at line 19 of file error.c.

20{
21 if (kissat_abort_function)
22 { FLUSH_COVERAGE (); kissat_abort_function (); } // Keep all in this line.
23 else
24 { FLUSH_COVERAGE (); abort (); } // Keep all in this line.
25}
#define FLUSH_COVERAGE()
Definition cover.h:26
VOID_HACK abort()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ kissat_call_function_instead_of_abort()

void kissat_call_function_instead_of_abort ( void(* )(void))

Definition at line 12 of file error.c.

12 {
13 kissat_abort_function = f;
14}
Here is the caller graph for this function:

◆ kissat_error()

ABC_NAMESPACE_HEADER_START void kissat_error ( const char * fmt,
... )

◆ kissat_fatal()

ABC_NAMESPACE_HEADER_START void void kissat_fatal ( const char * fmt,
... )
Here is the call graph for this function:

◆ kissat_fatal_message_start()

ABC_NAMESPACE_HEADER_START void void void kissat_fatal_message_start ( void )

Definition at line 40 of file error.c.

40 {
41 typed_error_message_start ("fatal error");
42}
Here is the caller graph for this function: