CBMC
|
Expression classes for byte-level operators. More...
Go to the source code of this file.
Classes | |
class | byte_extract_exprt |
Expression of type type extracted from some object op starting at position offset (given in number of bytes). More... | |
class | byte_update_exprt |
Expression corresponding to op() where the bytes starting at position offset (given in number of bytes) have been updated with value . More... | |
Functions | |
template<> | |
bool | can_cast_expr< byte_extract_exprt > (const exprt &base) |
const byte_extract_exprt & | to_byte_extract_expr (const exprt &expr) |
byte_extract_exprt & | to_byte_extract_expr (exprt &expr) |
void | validate_expr (const byte_extract_exprt &value) |
template<> | |
bool | can_cast_expr< byte_update_exprt > (const exprt &base) |
const byte_update_exprt & | to_byte_update_expr (const exprt &expr) |
byte_update_exprt & | to_byte_update_expr (exprt &expr) |
byte_extract_exprt | make_byte_extract (const exprt &_op, const exprt &_offset, const typet &_type) |
Construct a byte_extract_exprt with endianness and byte width matching the current configuration. More... | |
byte_update_exprt | make_byte_update (const exprt &_op, const exprt &_offset, const exprt &_value) |
Construct a byte_update_exprt with endianness and byte width matching the current configuration. More... | |
Expression classes for byte-level operators.
Definition in file byte_operators.h.
|
inline |
Definition at line 51 of file byte_operators.h.
|
inline |
Definition at line 111 of file byte_operators.h.
byte_extract_exprt make_byte_extract | ( | const exprt & | _op, |
const exprt & | _offset, | ||
const typet & | _type | ||
) |
Construct a byte_extract_exprt with endianness and byte width matching the current configuration.
Definition at line 48 of file byte_operators.cpp.
byte_update_exprt make_byte_update | ( | const exprt & | _op, |
const exprt & | _offset, | ||
const exprt & | _value | ||
) |
Construct a byte_update_exprt with endianness and byte width matching the current configuration.
Definition at line 54 of file byte_operators.cpp.
|
inline |
Definition at line 57 of file byte_operators.h.
|
inline |
Definition at line 63 of file byte_operators.h.
|
inline |
Definition at line 117 of file byte_operators.h.
|
inline |
Definition at line 123 of file byte_operators.h.
|
inline |
Definition at line 69 of file byte_operators.h.