Class that allows to clean expressions of side effects and to generate havoc_slice expressions.
More...
#include <utils.h>
+ Inheritance diagram for cleanert:
+ Collaboration diagram for cleanert:
- Public Member Functions inherited from
messaget
Generate output to message_stream using output_generator if the configured verbosity is at least as high as that of message_stream.
Additional Inherited Members
- Static Public Member Functions inherited from
messaget
Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest.
Create an ECMA-48 SGR (Select Graphic Rendition) command.
- Static Public Attributes inherited from
messaget
return to default formatting, as defined by the terminal
render text with red foreground color
render text with green foreground color
render text with yellow foreground color
render text with blue foreground color
render text with magenta foreground color
render text with cyan foreground color
render text with bright red foreground color
render text with bright green foreground color
render text with bright yellow foreground color
render text with bright blue foreground color
render text with bright magenta foreground color
render text with bright cyan foreground color
render text with bold font
render text with faint font
render italic text
render underlined text
Start quoted text.
End quoted text.
re-write boolean operators into ?:
builds a goto program for object initialization after new
add function calls to function queue for later processing
converts 'code' and appends the result to 'dest'
Unwinds the destructor stack and creates destructors for each node between destructor_start_point and destructor_end_point (including the start, excluding the end).
Rewrite "if(x) goto z; goto y; z:" into "if(!x) goto y;" This only works if the "goto y" is not a branch target.
if(guard) true_case; else false_case;
if(guard) goto target_true; else goto target_false;
Generates the necessary goto-instructions to represent a thread-block.
alloca allocates memory that is freed when leaving the function (and not the block, as regular destructors would do).
Returns 'true' for expressions that may change the program state.
- Protected Attributes inherited from
messaget
Detailed Description
Class that allows to clean expressions of side effects and to generate havoc_slice expressions.
Definition at line 34 of file utils.h.
Constructor & Destructor Documentation
◆ cleanert()
Member Function Documentation
◆ clean()
◆ do_havoc_slice()
The documentation for this class was generated from the following file:
- /home/runner/work/cbmc/cbmc/src/goto-instrument/contracts/utils.h