CBMC
|
#include <pointer_logic.h>
Classes | |
struct | pointert |
Public Member Functions | |
exprt | pointer_expr (const pointert &pointer, const pointer_typet &type) const |
Convert an (object,offset) pair to an expression. More... | |
exprt | pointer_expr (const mp_integer &object, const pointer_typet &type) const |
Convert an (object,0) pair to an expression. More... | |
~pointer_logict () | |
pointer_logict (const namespacet &_ns) | |
mp_integer | add_object (const exprt &expr) |
const mp_integer & | get_null_object () const |
const mp_integer & | get_invalid_object () const |
bool | is_dynamic_object (const exprt &expr) const |
void | get_dynamic_objects (std::vector< mp_integer > &objects) const |
Public Attributes | |
numberingt< exprt, irep_hash > | objects |
Protected Attributes | |
const namespacet & | ns |
mp_integer | null_object |
mp_integer | invalid_object |
Definition at line 22 of file pointer_logic.h.
pointer_logict::~pointer_logict | ( | ) |
Definition at line 169 of file pointer_logic.cpp.
|
explicit |
Definition at line 159 of file pointer_logic.cpp.
mp_integer pointer_logict::add_object | ( | const exprt & | expr | ) |
Definition at line 44 of file pointer_logic.cpp.
void pointer_logict::get_dynamic_objects | ( | std::vector< mp_integer > & | objects | ) | const |
Definition at line 34 of file pointer_logic.cpp.
|
inline |
Definition at line 58 of file pointer_logic.h.
|
inline |
Definition at line 52 of file pointer_logic.h.
bool pointer_logict::is_dynamic_object | ( | const exprt & | expr | ) | const |
Definition at line 25 of file pointer_logic.cpp.
exprt pointer_logict::pointer_expr | ( | const mp_integer & | object, |
const pointer_typet & | type | ||
) | const |
Convert an (object,0) pair to an expression.
Definition at line 60 of file pointer_logic.cpp.
exprt pointer_logict::pointer_expr | ( | const pointert & | pointer, |
const pointer_typet & | type | ||
) | const |
Convert an (object,offset) pair to an expression.
Definition at line 67 of file pointer_logic.cpp.
|
protected |
Definition at line 69 of file pointer_logic.h.
|
protected |
Definition at line 68 of file pointer_logic.h.
|
protected |
Definition at line 69 of file pointer_logic.h.
numberingt<exprt, irep_hash> pointer_logict::objects |
Definition at line 26 of file pointer_logic.h.