CBMC
|
#include <goto_harness_generator.h>
Public Member Functions | |
virtual void | generate (goto_modelt &goto_model, const irep_idt &harness_function_name)=0 |
Generate a harness according to the set options. | |
virtual | ~goto_harness_generatort ()=default |
Protected Member Functions | |
virtual void | handle_option (const std::string &option, const std::list< std::string > &values)=0 |
Handle a command line argument. | |
virtual void | validate_options (const goto_modelt &goto_model)=0 |
Check if options are in a sane state, throw otherwise. | |
Friends | |
class | goto_harness_generator_factoryt |
Definition at line 41 of file goto_harness_generator.h.
|
virtualdefault |
|
pure virtual |
Generate a harness according to the set options.
Implemented in function_call_harness_generatort, and memory_snapshot_harness_generatort.
|
protectedpure virtual |
Handle a command line argument.
Should throw an exception if the option doesn't apply to this generator. Should only set options rather than immediately performing work
Implemented in function_call_harness_generatort, and memory_snapshot_harness_generatort.
|
protectedpure virtual |
Check if options are in a sane state, throw otherwise.
Implemented in function_call_harness_generatort, and memory_snapshot_harness_generatort.
Definition at line 49 of file goto_harness_generator.h.