ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
mark_decl_as_non_det Class Reference

This will look over non-initialized local declarations and set them as nondet. More...

#include <mark_decl_as_non_det.h>

Inheritance diagram for mark_decl_as_non_det:
[legend]

Public Member Functions

 mark_decl_as_non_det (contextt &context)
Public Member Functions inherited from goto_functions_algorithm
 goto_functions_algorithm (bool sideffect)
unsigned get_number_of_functions ()
unsigned get_number_of_loops ()
bool run (goto_functionst &) override
 Executes the algorithm over a T object.
void setTarget (const std::string &_tgt)
Public Member Functions inherited from algorithm< goto_functionst >
 algorithm (bool sideeffect)
virtual ~algorithm ()=default
bool has_sideeffect ()
 Says wether the algorithm is a plain analysis or if it also changes the structure.

Protected Member Functions

virtual bool runOnFunction (std::pair< const irep_idt, goto_functiont > &F) override
Protected Member Functions inherited from goto_functions_algorithm
virtual bool runOnLoop (loopst &loop, goto_programt &goto_program)
virtual bool runOnProgram (goto_functionst &)

Protected Attributes

contextt & context
Protected Attributes inherited from goto_functions_algorithm
std::string target_function = ""
Protected Attributes inherited from algorithm< goto_functionst >
const bool sideeffect

Detailed Description

This will look over non-initialized local declarations and set them as nondet.

Constructor & Destructor Documentation

◆ mark_decl_as_non_det()

mark_decl_as_non_det::mark_decl_as_non_det ( contextt & context)
inline

Member Function Documentation

◆ runOnFunction()

bool mark_decl_as_non_det::runOnFunction ( std::pair< const irep_idt, goto_functiont > & F)
overrideprotectedvirtual

Reimplemented from goto_functions_algorithm.

Member Data Documentation

◆ context

contextt& mark_decl_as_non_det::context
protected

The documentation for this class was generated from the following files: