|
| | unmergeable_svalue (symbolic::node::id_t id, const svalue *arg) |
| enum svalue_kind | get_kind () const final override |
| const unmergeable_svalue * | dyn_cast_unmergeable_svalue () const final override |
| void | dump_to_pp (pretty_printer *pp, bool simple) const final override |
| void | print_svalue_for_dump_widget_label (pretty_printer *pp) const final override |
| void | add_dump_widget_children (text_art::tree_widget &w, symbolic::node_dump_state &nds) const final override |
| void | accept_node_visitor (symbolic::node_visitor &v) const final override |
| std::unique_ptr< json::object > | to_json () const final override |
| std::unique_ptr< diagnostics::markup::node > | make_markup_node (symbolic::markup_context &markup_ctxt) const final override |
| void | accept (visitor *v) const final override |
| bool | implicitly_live_p (symbolic::liveness_context &) const final override |
| const svalue * | get_arg () const |
| tree | get_type () const |
| const svalue * | dyn_cast_svalue () const final override |
| void | print (const region_model &model, pretty_printer *pp) const |
| void | dump_to_pp (pretty_printer *pp, bool show_ids=true, bool elide_repeated_nodes=true) const |
| void | dump () const |
| void | dump (bool simple) const |
| void | print_dump_widget_label (pretty_printer *pp) const final override |
| const char * | get_any_dump_color () const override |
| label_text | get_desc (bool simple=true) const |
| virtual const pointer_svalue * | dyn_cast_pointer_svalue () const |
| virtual const constant_svalue * | dyn_cast_constant_svalue () const |
| virtual const poisoned_svalue * | dyn_cast_poisoned_svalue () const |
| virtual const setjmp_svalue * | dyn_cast_setjmp_svalue () const |
| virtual const initial_svalue * | dyn_cast_initial_svalue () const |
| virtual const unaryop_svalue * | dyn_cast_unaryop_svalue () const |
| virtual const binop_svalue * | dyn_cast_binop_svalue () const |
| virtual const svalue_from_bit_vector * | dyn_cast_svalue_from_bit_vector () const |
| virtual const widening_svalue * | dyn_cast_widening_svalue () const |
| virtual const asm_output_svalue * | dyn_cast_asm_output_svalue () const |
| virtual const const_fn_result_svalue * | dyn_cast_const_fn_result_svalue () const |
| iter_result | for_each_svalue (iter_result(*cb)(const svalue &sval, void *user_data), void *user_data) const final override |
| bool | has_concrete_size_p (concrete_bit_size *out, symbolic::scalar_manager< concrete_bit_size > &bit_mgr) const |
| tree | maybe_get_constant () const |
| const symbolic::pointer * | maybe_get_symbolic_pointer () const |
| const svalue * | maybe_undo_cast () const |
| const svalue * | unwrap_any_unmergeable () const |
| const svalue * | can_merge_p (const svalue *other, region_model_manager *mgr, model_merger *merger) const |
| virtual bool | all_zeroes_p () const |
| virtual bool | can_have_associated_state_p () const |
| const region * | maybe_get_deref_base_region () const |
| bool | maybe_print_for_user (pretty_printer *pp, const region_model &model, const svalue *outer_sval=nullptr) const |
| tree | maybe_get_type_from_typeinfo () const |
| bool | maybe_get_value_range (value_range &out) const |
| virtual bool | conjured_p () const |
| bool | derived_from_initial_value_p () const |
| virtual const bit_vector * | dyn_cast_bit_vector () const |
| const complexity & | get_complexity () const |
| id_t | get_id () const |
| void | dump_to_logger (logger &) const |
| std::unique_ptr< text_art::tree_widget > | make_dump_widget (node_dump_state &nds, const char *prefix=nullptr) const |
| bool | involves_p (const symbolic::node &other) const |
| void | start_any_dump_color (pretty_printer *pp) const |
| void | end_any_dump_color (pretty_printer *pp) const |
| text_art::style | get_text_art_tree_style () const |
Concrete subclass of svalue: decorate another svalue,
so that the resulting svalue can be identified as being
"interesting to control flow".
For example, consider the return value from setjmp. We
don't want to merge states in which the result is 0 with
those in which the result is non-zero. By using an
unmergeable_svalue for the result, we can inhibit such merges
and have separate exploded nodes for those states, keeping
the first and second returns from setjmp distinct in the exploded
graph.
Consolidation/canonicalization:
- no nesting: the underlying arg is not itself unmergeable (we fold
away nesting).