|
ESBMC
Efficient SMT-based Context-Bounded Model Checker
|
#include <ld_converter.h>
Public Member Functions | |
| ld_converter (contextt &context, const LdIR &ir) | |
| void | convert () |
| Build the symbol table, ld::scan_loop, and __ESBMC_main skeleton. | |
| void | prepend_static_init () |
| Prepend static-lifetime initialisation assignments to __ESBMC_main. | |
| void | enable_fault_injection (bool enabled) |
| Fault-injection mode: negate contact polarities / degrade coil assignments. | |
| void ld_converter::convert | ( | ) |
Build the symbol table, ld::scan_loop, and __ESBMC_main skeleton.
Throws std::runtime_error on internal errors.
|
inline |
Fault-injection mode: negate contact polarities / degrade coil assignments.
Used by WP1 validation to plant known semantic errors.
| void ld_converter::prepend_static_init | ( | ) |
Prepend static-lifetime initialisation assignments to __ESBMC_main.
Call this after all symbols (including those from property_encoder) have been added to the context.