cprover
|
API to expression classes for Pointers. More...
Go to the source code of this file.
Classes | |
class | pointer_typet |
The pointer type These are both 'bitvector_typet' (they have a width) and 'type_with_subtypet' (they have a subtype) More... | |
class | reference_typet |
The reference type. More... | |
class | object_descriptor_exprt |
Split an expression into a base object and a (byte) offset. More... | |
class | dynamic_object_exprt |
Representation of heap-allocated objects. More... | |
class | is_dynamic_object_exprt |
Evaluates to true if the operand is a pointer to a dynamic object. More... | |
class | address_of_exprt |
Operator to return the address of an object. More... | |
class | object_address_exprt |
Operator to return the address of an object. More... | |
class | field_address_exprt |
Operator to return the address of a field relative to a base address. More... | |
class | element_address_exprt |
Operator to return the address of an array element relative to a base address. More... | |
class | dereference_exprt |
Operator to dereference a pointer. More... | |
class | null_pointer_exprt |
The null pointer constant. More... | |
class | r_or_w_ok_exprt |
A base class for a predicate that indicates that an address range is ok to read or write or both. More... | |
class | r_ok_exprt |
A predicate that indicates that an address range is ok to read. More... | |
class | w_ok_exprt |
A predicate that indicates that an address range is ok to write. More... | |
API to expression classes for Pointers.
Definition in file pointer_expr.h.
|
inline |
Definition at line 382 of file pointer_expr.h.
|
inline |
Definition at line 688 of file pointer_expr.h.
|
inline |
Definition at line 285 of file pointer_expr.h.
|
inline |
Definition at line 612 of file pointer_expr.h.
|
inline |
Definition at line 530 of file pointer_expr.h.
|
inline |
Definition at line 330 of file pointer_expr.h.
|
inline |
Definition at line 446 of file pointer_expr.h.
|
inline |
Definition at line 221 of file pointer_expr.h.
|
inline |
Check whether a reference to a typet is a pointer_typet.
type | Source type. |
type
is a pointer_typet. Definition at line 66 of file pointer_expr.h.
|
inline |
Check whether a reference to a typet is a reference_typet.
type | Source type. |
type
is a reference_typet. Definition at line 135 of file pointer_expr.h.
Returns true if the type is a reference.
Definition at line 137 of file std_types.cpp.
Returns if the type is an R value reference.
Definition at line 144 of file std_types.cpp.
This method tests, if the given typet is a pointer of type void.
Definition at line 96 of file pointer_expr.h.
|
inline |
Cast an exprt to an address_of_exprt.
expr must be known to be address_of_exprt.
expr | Source expression |
Definition at line 398 of file pointer_expr.h.
|
inline |
Cast an exprt to an address_of_exprt.
expr must be known to be address_of_exprt.
expr | Source expression |
Definition at line 407 of file pointer_expr.h.
|
inline |
Cast an exprt to a dereference_exprt.
expr must be known to be dereference_exprt.
expr | Source expression |
Definition at line 704 of file pointer_expr.h.
|
inline |
Cast an exprt to a dereference_exprt.
expr must be known to be dereference_exprt.
expr | Source expression |
Definition at line 713 of file pointer_expr.h.
|
inline |
Cast an exprt to a dynamic_object_exprt.
expr must be known to be dynamic_object_exprt.
expr | Source expression |
Definition at line 301 of file pointer_expr.h.
|
inline |
Cast an exprt to a dynamic_object_exprt.
expr must be known to be dynamic_object_exprt.
expr | Source expression |
Definition at line 311 of file pointer_expr.h.
|
inline |
Cast an exprt to an element_address_exprt.
expr must be known to be element_address_exprt.
expr | Source expression |
Definition at line 628 of file pointer_expr.h.
|
inline |
Cast an exprt to an element_address_exprt.
expr must be known to be element_address_exprt.
expr | Source expression |
Definition at line 638 of file pointer_expr.h.
|
inline |
Cast an exprt to an field_address_exprt.
expr must be known to be field_address_exprt.
expr | Source expression |
Definition at line 546 of file pointer_expr.h.
|
inline |
Cast an exprt to an field_address_exprt.
expr must be known to be field_address_exprt.
expr | Source expression |
Definition at line 556 of file pointer_expr.h.
|
inline |
Definition at line 341 of file pointer_expr.h.
|
inline |
Definition at line 351 of file pointer_expr.h.
|
inline |
Cast an exprt to an object_address_exprt.
expr must be known to be object_address_exprt.
expr | Source expression |
Definition at line 462 of file pointer_expr.h.
|
inline |
Cast an exprt to an object_address_exprt.
expr must be known to be object_address_exprt.
expr | Source expression |
Definition at line 472 of file pointer_expr.h.
|
inline |
Cast an exprt to an object_descriptor_exprt.
expr must be known to be object_descriptor_exprt.
expr | Source expression |
Definition at line 238 of file pointer_expr.h.
|
inline |
Cast an exprt to an object_descriptor_exprt.
expr must be known to be object_descriptor_exprt.
expr | Source expression |
Definition at line 248 of file pointer_expr.h.
|
inline |
Cast a typet to a pointer_typet.
This is an unchecked conversion. type must be known to be pointer_typet. Will fail with a precondition violation if type doesn't match.
type | Source type. |
Definition at line 79 of file pointer_expr.h.
|
inline |
Cast a typet to a pointer_typet.
This is an unchecked conversion. type must be known to be pointer_typet. Will fail with a precondition violation if type doesn't match.
type | Source type. |
Definition at line 87 of file pointer_expr.h.
|
inline |
Definition at line 771 of file pointer_expr.h.
|
inline |
Definition at line 752 of file pointer_expr.h.
|
inline |
Cast a typet to a reference_typet.
This is an unchecked conversion. type must be known to be reference_typet. Will fail with a precondition violation if type doesn't match.
type | Source type. |
Definition at line 148 of file pointer_expr.h.
|
inline |
Cast a typet to a reference_typet.
This is an unchecked conversion. type must be known to be reference_typet. Will fail with a precondition violation if type doesn't match.
type | Source type. |
Definition at line 155 of file pointer_expr.h.
|
inline |
Definition at line 789 of file pointer_expr.h.
|
inline |
Definition at line 387 of file pointer_expr.h.
|
inline |
Definition at line 693 of file pointer_expr.h.
|
inline |
Definition at line 290 of file pointer_expr.h.
|
inline |
Definition at line 617 of file pointer_expr.h.
|
inline |
Definition at line 535 of file pointer_expr.h.
|
inline |
Definition at line 335 of file pointer_expr.h.
|
inline |
Definition at line 451 of file pointer_expr.h.
|
inline |
Definition at line 226 of file pointer_expr.h.