21#ifndef GCC_ANALYZER_CALL_DETAILS_H
22#define GCC_ANALYZER_CALL_DETAILS_H
81 std::unique_ptr<text_art::tree_widget>
92 bool include_terminator,
98 const svalue *num_bytes_read_sval)
const;
116 :
m_call (cd.get_call_stmt ()),
Definition call-details.h:32
uncertainty_t * get_uncertainty() const
symbolic::pointer get_arg_as_sym_ptr(unsigned idx) const
void check_for_null_terminated_string_arg(unsigned arg_idx) const
region_model_manager * get_manager() const
const svalue * check_for_null_terminated_string_arg(unsigned arg_idx, bool include_terminator, const symbolic::bit_vector **out_bit_vec) const
const symbolic_byte_size & get_arg_as_num_bytes(unsigned idx) const
const svalue * get_arg_svalue(unsigned idx) const
tree get_arg_tree(unsigned idx) const
bool arg_is_pointer_p(unsigned idx) const
Definition call-details.h:51
location_t get_location() const
const svalue * get_or_create_conjured_svalue(const region *) const
void complain_about_overlap(unsigned arg_idx_a, unsigned arg_idx_b, const svalue *num_bytes_read_sval) const
tree get_lhs_type() const
Definition call-details.h:44
region_model_context * get_ctxt() const
Definition call-details.h:40
region_model_context * m_ctxt
Definition call-details.h:103
bool arg_is_integral_p(unsigned idx) const
Definition call-details.h:56
const region * get_lhs_region() const
Definition call-details.h:45
call_details(const call_details &cd, region_model_context *ctxt)
const region * m_lhs_region
Definition call-details.h:105
tree get_fndecl_for_call() const
unsigned num_args() const
tree lookup_function_attribute(const char *attr_name) const
const gcall & get_call_stmt() const
Definition call-details.h:61
const gcall & m_call
Definition call-details.h:101
bool maybe_set_lhs(const svalue *result) const
tree get_arg_type(unsigned idx) const
tree m_lhs_type
Definition call-details.h:104
call_details(const gcall &call, region_model *model, region_model_context *ctxt)
const region * deref_ptr_arg(unsigned idx) const
std::unique_ptr< text_art::tree_widget > make_dump_widget(symbolic::node_dump_state &nds) const
region_model * m_model
Definition call-details.h:102
void set_any_lhs_with_defaults() const
const char * get_arg_string_literal(unsigned idx) const
region_model * get_model() const
Definition call-details.h:38
logger * get_logger() const
bool arg_is_size_p(unsigned idx) const
Definition analyzer-logging.h:36
static bool same_tree_p(tree t1, tree t2)
Definition region-model.h:840
Definition region-model-manager.h:36
Definition region-model.h:289
Definition symbolic-bit-vectors.h:107
Definition symbolic-pointers.h:33
union tree_node * tree
Definition coretypes.h:97
Definition access-diagram.h:30
symbolic::scalar< integer_with_unit< units::byte > > symbolic_byte_size
Definition symbolic-scalars.h:197
@ other
Definition common.h:536
unsigned m_arg_idx
Definition call-details.h:133
tree m_called_fndecl
Definition call-details.h:132
call_arg_details(const call_details &cd, unsigned arg_idx)
Definition call-details.h:115
tree m_arg_expr
Definition call-details.h:134
bool operator==(const call_arg_details &other) const
Definition call-details.h:123
const gcall & m_call
Definition call-details.h:131
Definition symbolic-nodes.h:276
#define POINTER_TYPE_P(TYPE)
Definition tree.h:715
#define INTEGRAL_TYPE_P(TYPE)
Definition tree.h:616