GCC Middle and Back End API Reference
|
#include <region-model.h>
Public Member Functions | |
bool | warn (std::unique_ptr< pending_diagnostic > d, const stmt_finder *custom_finder) override |
void | add_note (std::unique_ptr< pending_note > pn) override |
void | add_event (std::unique_ptr< checker_event > event) override |
void | on_svalue_leak (const svalue *sval) override |
void | on_liveness_change (const svalue_set &live_svalues, const region_model *model) override |
logger * | get_logger () override |
void | on_condition (const svalue *lhs, enum tree_code op, const svalue *rhs) override |
void | on_bounded_ranges (const svalue &sval, const bounded_ranges &ranges) override |
void | on_pop_frame (const frame_region *frame_reg) override |
void | on_unknown_change (const svalue *sval, bool is_mutable) override |
void | on_phi (const gphi *phi, tree rhs) override |
void | on_unexpected_tree_code (tree t, const dump_location_t &loc) override |
void | on_escaped_function (tree fndecl) override |
uncertainty_t * | get_uncertainty () override |
void | purge_state_involving (const svalue *sval) override |
void | bifurcate (std::unique_ptr< custom_edge_info > info) override |
void | terminate_path () override |
const extrinsic_state * | get_ext_state () const override |
bool | get_state_map_by_name (const char *name, sm_state_map **out_smap, const state_machine **out_sm, unsigned *out_sm_idx, std::unique_ptr< sm_context > *out_sm_context) override |
const gimple * | get_stmt () const override |
const exploded_graph * | get_eg () const override |
void | maybe_did_work () override |
bool | checking_for_infinite_loop_p () const override |
void | on_unusable_in_infinite_loop () override |
bool | get_fd_map (sm_state_map **out_smap, const state_machine **out_sm, unsigned *out_sm_idx, std::unique_ptr< sm_context > *out_sm_context) |
bool | get_malloc_map (sm_state_map **out_smap, const state_machine **out_sm, unsigned *out_sm_idx) |
bool | get_taint_map (sm_state_map **out_smap, const state_machine **out_sm, unsigned *out_sm_idx) |
bool | possibly_tainted_p (const svalue *sval) |
Protected Member Functions | |
region_model_context_decorator (region_model_context *inner) | |
Protected Attributes | |
region_model_context * | m_inner |
Subclass of region_model_context that wraps another context, allowing for extra code to be added to the various hooks.
|
inlineprotected |
|
overridevirtual |
Implements ana::region_model_context.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::add_note(), and m_inner.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::bifurcate(), and m_inner.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::checking_for_infinite_loop_p(), and m_inner.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::get_eg(), and m_inner.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::get_ext_state(), and m_inner.
|
inlineinherited |
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::get_logger(), and m_inner.
|
inlineinherited |
References ana::region_model_context::get_state_map_by_name(), and NULL.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::get_state_map_by_name(), and m_inner.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::get_stmt(), and m_inner.
|
inlineinherited |
References ana::region_model_context::get_state_map_by_name(), and NULL.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References ana::region_model_context::get_uncertainty(), and m_inner.
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::maybe_did_work().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_bounded_ranges().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_condition().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_escaped_function().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_liveness_change().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_phi().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_pop_frame().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_svalue_leak().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_unexpected_tree_code().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_unknown_change().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::on_unusable_in_infinite_loop().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::purge_state_involving().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::terminate_path().
|
inlineoverridevirtual |
Implements ana::region_model_context.
References m_inner, and ana::region_model_context::warn().
|
protected |
Referenced by add_note(), bifurcate(), checking_for_infinite_loop_p(), get_eg(), get_ext_state(), get_logger(), get_state_map_by_name(), get_stmt(), get_uncertainty(), maybe_did_work(), on_bounded_ranges(), on_condition(), on_escaped_function(), on_liveness_change(), on_phi(), on_pop_frame(), on_svalue_leak(), on_unexpected_tree_code(), on_unknown_change(), on_unusable_in_infinite_loop(), purge_state_involving(), terminate_path(), ana::annotating_context::warn(), and warn().