|
GCC Middle and Back End API Reference
|
#include <program-state.h>

Data Structures | |
| struct | entry_t |
Public Types | |
| typedef hash_map< const svalue *, entry_t > | map_t |
| typedef map_t::iterator | iterator_t |
Static Public Member Functions | |
| static int | cmp (const sm_state_map &smap_a, const sm_state_map &smap_b) |
| static const svalue * | canonicalize_svalue (const svalue *sval, const extrinsic_state &ext_state) |
Private Member Functions | |
| state_machine::state_t | get_any_inherited_state_of_bit_vector (const symbolic::bit_vector &bv, const extrinsic_state &ext_state, region_model_manager &rmm) const |
Private Attributes | |
| const state_machine & | m_sm |
| map_t | m_map |
| state_machine::state_t | m_global_state |
| std::map< const symbolic::unfoldable_bit_contents *, state_machine::state_t > | m_map_ubc_to_state |
Map from svalue * to state machine state, also capturing the origin of each state.
| typedef map_t::iterator ana::sm_state_map::iterator_t |
| typedef hash_map<const svalue *, entry_t> ana::sm_state_map::map_t |
| ana::sm_state_map::sm_state_map | ( | const state_machine & | sm | ) |
Referenced by can_merge_with_p(), clone(), cmp(), operator!=(), operator==(), and replay_call_summary().
|
inline |
References hash_map< KeyId, Value, Traits >::begin(), and m_map.
| bool ana::sm_state_map::can_merge_with_p | ( | const sm_state_map & | other, |
| const state_machine & | sm, | ||
| const extrinsic_state & | ext_state, | ||
| sm_state_map ** | out ) const |
References sm_state_map().
|
static |
| void ana::sm_state_map::clear_all_per_svalue_state | ( | ) |
| void ana::sm_state_map::clear_any_state | ( | const svalue * | sval | ) |
| sm_state_map * ana::sm_state_map::clone | ( | ) | const |
References sm_state_map().
|
static |
References sm_state_map().
| void ana::sm_state_map::dump | ( | ) | const |
| void ana::sm_state_map::dump | ( | bool | simple | ) | const |
|
inline |
References hash_map< KeyId, Value, Traits >::elements(), and m_map.
|
inline |
References hash_map< KeyId, Value, Traits >::end(), and m_map.
|
private |
| state_machine::state_t ana::sm_state_map::get_global_state | ( | ) | const |
Referenced by ana::impl_sm_context::warn(), and ana::impl_sm_context::warn().
| const svalue * ana::sm_state_map::get_origin | ( | const svalue * | sval, |
| const extrinsic_state & | ext_state ) const |
| state_machine::state_t ana::sm_state_map::get_state | ( | const svalue * | sval, |
| const extrinsic_state & | ext_state ) const |
| hashval_t ana::sm_state_map::hash | ( | ) | const |
| bool ana::sm_state_map::impl_set_state | ( | const svalue * | sval, |
| state_machine::state_t | state, | ||
| const svalue * | origin, | ||
| const extrinsic_state & | ext_state ) |
| bool ana::sm_state_map::is_empty_p | ( | ) | const |
| std::unique_ptr< text_art::tree_widget > ana::sm_state_map::make_dump_widget | ( | symbolic::node_dump_state & | nds, |
| const region_model * | model = nullptr ) const |
| void ana::sm_state_map::on_liveness_change | ( | symbolic::liveness_context & | liveness_ctxt, |
| const extrinsic_state & | ext_state, | ||
| impl_region_model_context * | ctxt ) |
| void ana::sm_state_map::on_svalue_leak | ( | const svalue * | sval, |
| impl_region_model_context * | ctxt ) |
| void ana::sm_state_map::on_unknown_change | ( | const symbolic::value_node & | val, |
| bool | is_mutable, | ||
| const extrinsic_state & | ext_state ) |
|
inline |
References ana::other, and sm_state_map().
| bool ana::sm_state_map::operator== | ( | const sm_state_map & | other | ) | const |
References sm_state_map().
| void ana::sm_state_map::print | ( | const region_model * | model, |
| bool | simple, | ||
| bool | multiline, | ||
| pretty_printer * | pp ) const |
| void ana::sm_state_map::purge_state_involving | ( | const symbolic::node & | node, |
| const extrinsic_state & | ext_state ) |
| bool ana::sm_state_map::replay_call_summary | ( | call_summary_replay & | r, |
| const sm_state_map & | summary ) |
References r, and sm_state_map().
| void ana::sm_state_map::set_global_state | ( | state_machine::state_t | state | ) |
| bool ana::sm_state_map::set_state | ( | const equiv_class & | ec, |
| state_machine::state_t | state, | ||
| const svalue * | origin, | ||
| const extrinsic_state & | ext_state ) |
| void ana::sm_state_map::set_state | ( | region_model * | model, |
| const svalue * | sval, | ||
| state_machine::state_t | state, | ||
| const svalue * | origin, | ||
| const extrinsic_state & | ext_state ) |
Referenced by ana::impl_sm_context::set_next_state(), and ana::impl_sm_context::set_next_state().
| std::unique_ptr< json::object > ana::sm_state_map::to_json | ( | ) | const |
| void ana::sm_state_map::validate | ( | const extrinsic_state & | ext_state | ) | const |
|
private |
|
private |
Referenced by begin(), elements(), and end().
|
private |
|
private |