GCC Middle and Back End API Reference
|
#include <analyzer.h>
Public Member Functions | |
region_offset () | |
const region * | get_base_region () const |
bool | concrete_p () const |
bool | symbolic_p () const |
bit_offset_t | get_bit_offset () const |
bool | get_concrete_byte_offset (byte_offset_t *out) const |
const svalue * | get_symbolic_byte_offset () const |
const svalue & | calc_symbolic_bit_offset (region_model_manager *mgr) const |
const svalue * | calc_symbolic_byte_offset (region_model_manager *mgr) const |
bool | operator== (const region_offset &other) const |
void | dump_to_pp (pretty_printer *pp, bool) const |
void | dump (bool) const |
Static Public Member Functions | |
static region_offset | make_concrete (const region *base_region, bit_offset_t offset) |
static region_offset | make_symbolic (const region *base_region, const svalue *sym_offset) |
static region_offset | make_byte_offset (const region *base_region, const svalue *num_bytes_sval) |
Private Member Functions | |
region_offset (const region *base_region, bit_offset_t offset, const svalue *sym_offset) | |
Private Attributes | |
const region * | m_base_region |
bit_offset_t | m_offset |
const svalue * | m_sym_offset |
The location of a region expressesd as an offset relative to a base region.
|
inline |
Referenced by make_concrete(), and make_symbolic().
|
inlineprivate |
const svalue & ana::region_offset::calc_symbolic_bit_offset | ( | region_model_manager * | mgr | ) | const |
const svalue * ana::region_offset::calc_symbolic_byte_offset | ( | region_model_manager * | mgr | ) | const |
|
inline |
References m_sym_offset, and NULL.
Referenced by ana::access_range::concrete_p().
void ana::region_offset::dump | ( | bool | ) | const |
void ana::region_offset::dump_to_pp | ( | pretty_printer * | pp, |
bool | ) const |
|
inline |
References m_base_region.
|
inline |
References gcc_assert, m_offset, and symbolic_p().
Referenced by ana::access_range::as_concrete_bit_range(), and ana::access_range::get_size_in_bits().
|
inline |
References gcc_assert, m_offset, and symbolic_p().
|
inline |
References gcc_assert, m_sym_offset, and symbolic_p().
|
static |
|
inlinestatic |
References NULL, offset, and region_offset().
|
inlinestatic |
References region_offset().
|
inline |
References m_base_region, m_offset, and m_sym_offset.
|
inline |
References m_sym_offset, and NULL.
Referenced by get_bit_offset(), get_concrete_byte_offset(), and get_symbolic_byte_offset().
|
private |
Referenced by get_base_region(), and operator==().
|
private |
Referenced by get_bit_offset(), get_concrete_byte_offset(), and operator==().
|
private |
Referenced by concrete_p(), get_symbolic_byte_offset(), operator==(), and symbolic_p().