CBMC
|
Go to the source code of this file.
Classes | |
class | code_frontend_assignt |
A codet representing an assignment in the program. More... | |
class | code_blockt |
A codet representing sequential composition of program statements. More... | |
class | code_assumet |
An assumption, which must hold in subsequent code. More... | |
class | code_assertt |
A non-fatal assertion, which checks a condition then permits execution to continue. More... | |
class | code_skipt |
A codet representing a skip statement. More... | |
class | code_frontend_declt |
A codet representing the declaration of a local variable. More... | |
class | code_ifthenelset |
codet representation of an if-then-else statement. More... | |
class | code_switcht |
codet representing a switch statement. More... | |
class | code_whilet |
codet representing a while statement. More... | |
class | code_dowhilet |
codet representation of a do while statement. More... | |
class | code_fort |
codet representation of a for statement. More... | |
class | code_gotot |
codet representation of a goto statement. More... | |
class | code_frontend_returnt |
codet representation of a "return from a function" statement. More... | |
class | code_labelt |
codet representation of a label for branch targets. More... | |
class | code_switch_caset |
codet representation of a switch-case, i.e. a case statement within a switch . More... | |
class | code_gcc_switch_case_ranget |
codet representation of a switch-case, i.e. a case statement within a switch . More... | |
class | code_breakt |
codet representation of a break statement (within a for or while loop). More... | |
class | code_continuet |
codet representation of a continue statement (within a for or while loop). More... | |
class | code_asmt |
codet representation of an inline assembler statement. More... | |
class | code_asm_gcct |
codet representation of an inline assembler statement, for the gcc flavor. More... | |
class | code_expressiont |
codet representation of an expression statement. More... | |
class | side_effect_exprt |
An expression containing a side effect. More... | |
class | side_effect_expr_nondett |
A side_effect_exprt that returns a non-deterministically chosen value. More... | |
class | side_effect_expr_assignt |
A side_effect_exprt that performs an assignment. More... | |
class | side_effect_expr_statement_expressiont |
A side_effect_exprt that contains a statement. More... | |
class | side_effect_expr_function_callt |
A side_effect_exprt representation of a function call side effect. More... | |
class | side_effect_expr_throwt |
A side_effect_exprt representation of a side effect that throws an exception. More... | |
class | code_push_catcht |
Pushes an exception handler, of the form: exception_tag1 -> label1 exception_tag2 -> label2 ... More... | |
class | code_push_catcht::exception_list_entryt |
class | code_pop_catcht |
Pops an exception handler from the stack of active handlers (i.e. More... | |
class | code_landingpadt |
A statement that catches an exception, assigning the exception in flight to an expression (e.g. More... | |
class | code_try_catcht |
codet representation of a try/catch block. More... | |
class | code_function_bodyt |
This class is used to interface between a language frontend and goto-convert – it communicates the identifiers of the parameters of a function or method. More... | |
Namespaces | |
detail | |
|
inline |
Definition at line 1363 of file std_code.h.
|
inline |
Definition at line 1274 of file std_code.h.
|
inline |
Definition at line 294 of file std_code.h.
|
inline |
Definition at line 241 of file std_code.h.
|
inline |
Definition at line 195 of file std_code.h.
|
inline |
Definition at line 1195 of file std_code.h.
|
inline |
Definition at line 1231 of file std_code.h.
|
inline |
Definition at line 706 of file std_code.h.
|
inline |
Definition at line 1418 of file std_code.h.
|
inline |
Definition at line 813 of file std_code.h.
|
inline |
Definition at line 103 of file std_code.h.
|
inline |
Definition at line 419 of file std_code.h.
|
inline |
Definition at line 933 of file std_code.h.
|
inline |
Definition at line 1150 of file std_code.h.
|
inline |
Definition at line 865 of file std_code.h.
|
inline |
Definition at line 520 of file std_code.h.
|
inline |
Definition at line 994 of file std_code.h.
|
inline |
Definition at line 1964 of file std_code.h.
|
inline |
Definition at line 1912 of file std_code.h.
|
inline |
Definition at line 1875 of file std_code.h.
|
inline |
Definition at line 335 of file std_code.h.
|
inline |
Definition at line 1067 of file std_code.h.
|
inline |
Definition at line 582 of file std_code.h.
|
inline |
Definition at line 2040 of file std_code.h.
|
inline |
Definition at line 644 of file std_code.h.
|
inline |
Definition at line 1613 of file std_code.h.
|
inline |
Definition at line 1730 of file std_code.h.
|
inline |
Definition at line 1540 of file std_code.h.
|
inline |
Definition at line 1662 of file std_code.h.
|
inline |
Definition at line 1770 of file std_code.h.
|
inline |
Definition at line 1498 of file std_code.h.
code_blockt create_fatal_assertion | ( | const exprt & | condition, |
const source_locationt & | source_location | ||
) |
Create a fatal assertion, which checks a condition and then halts if it does not hold.
Equivalent to ASSERT(condition); ASSUME(condition)
.
Source level assertions should probably use this, whilst checks that are normally non-fatal at runtime, such as integer overflows, should use code_assertt by itself.
condition | condition to assert |
source_location | source location to attach to the generated code; conventionally this should have comment and property_class fields set to indicate the nature of the assertion. |
Definition at line 120 of file std_code.cpp.
Definition at line 1282 of file std_code.h.
Definition at line 1288 of file std_code.h.
|
inline |
Definition at line 1373 of file std_code.h.
|
inline |
Definition at line 1382 of file std_code.h.
|
inline |
Definition at line 312 of file std_code.h.
|
inline |
Definition at line 304 of file std_code.h.
|
inline |
Definition at line 259 of file std_code.h.
|
inline |
Definition at line 251 of file std_code.h.
|
inline |
Definition at line 209 of file std_code.h.
|
inline |
Definition at line 203 of file std_code.h.
|
inline |
Definition at line 1209 of file std_code.h.
|
inline |
Definition at line 1203 of file std_code.h.
|
inline |
Definition at line 1245 of file std_code.h.
|
inline |
Definition at line 1239 of file std_code.h.
|
inline |
Definition at line 724 of file std_code.h.
|
inline |
Definition at line 716 of file std_code.h.
|
inline |
Definition at line 1428 of file std_code.h.
|
inline |
Definition at line 1436 of file std_code.h.
Definition at line 831 of file std_code.h.
Definition at line 823 of file std_code.h.
|
inline |
Definition at line 120 of file std_code.h.
|
inline |
Definition at line 113 of file std_code.h.
|
inline |
Definition at line 436 of file std_code.h.
|
inline |
Definition at line 429 of file std_code.h.
|
inline |
Definition at line 950 of file std_code.h.
|
inline |
Definition at line 943 of file std_code.h.
|
inline |
Definition at line 2108 of file std_code.h.
|
inline |
Definition at line 2100 of file std_code.h.
|
inline |
Definition at line 1170 of file std_code.h.
|
inline |
Definition at line 1161 of file std_code.h.
|
inline |
Definition at line 883 of file std_code.h.
|
inline |
Definition at line 875 of file std_code.h.
|
inline |
Definition at line 538 of file std_code.h.
|
inline |
Definition at line 530 of file std_code.h.
|
inline |
Definition at line 1012 of file std_code.h.
|
inline |
Definition at line 1004 of file std_code.h.
|
inlinestatic |
Definition at line 1972 of file std_code.h.
|
inlinestatic |
Definition at line 1978 of file std_code.h.
|
inlinestatic |
Definition at line 1920 of file std_code.h.
|
inlinestatic |
Definition at line 1926 of file std_code.h.
|
inlinestatic |
Definition at line 1883 of file std_code.h.
|
inlinestatic |
Definition at line 1889 of file std_code.h.
|
inline |
Definition at line 600 of file std_code.h.
|
inline |
Definition at line 592 of file std_code.h.
|
inline |
Definition at line 1085 of file std_code.h.
|
inline |
Definition at line 1077 of file std_code.h.
|
inline |
Definition at line 2058 of file std_code.h.
|
inline |
Definition at line 2050 of file std_code.h.
|
inline |
Definition at line 662 of file std_code.h.
|
inline |
Definition at line 654 of file std_code.h.
|
inline |
Definition at line 1512 of file std_code.h.
|
inline |
Definition at line 1506 of file std_code.h.
|
inline |
Definition at line 1626 of file std_code.h.
|
inline |
Definition at line 1618 of file std_code.h.
|
inline |
Definition at line 1747 of file std_code.h.
|
inline |
Definition at line 1739 of file std_code.h.
|
inline |
Definition at line 1555 of file std_code.h.
|
inline |
Definition at line 1548 of file std_code.h.
|
inline |
Definition at line 1680 of file std_code.h.
|
inline |
Definition at line 1669 of file std_code.h.
|
inline |
Definition at line 1785 of file std_code.h.
|
inline |
Definition at line 1778 of file std_code.h.
|
inline |
Definition at line 1368 of file std_code.h.
|
inline |
Definition at line 299 of file std_code.h.
|
inline |
Definition at line 246 of file std_code.h.
|
inline |
Definition at line 711 of file std_code.h.
|
inline |
Definition at line 1423 of file std_code.h.
|
inline |
Definition at line 818 of file std_code.h.
|
inline |
Definition at line 108 of file std_code.h.
|
inline |
Definition at line 424 of file std_code.h.
|
inline |
Definition at line 938 of file std_code.h.
|
inline |
Definition at line 1155 of file std_code.h.
|
inline |
Definition at line 870 of file std_code.h.
|
inline |
Definition at line 525 of file std_code.h.
|
inline |
Definition at line 999 of file std_code.h.
|
inline |
Definition at line 1072 of file std_code.h.
|
inline |
Definition at line 587 of file std_code.h.
|
inline |
Definition at line 2045 of file std_code.h.
|
inline |
Definition at line 649 of file std_code.h.