We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2685ebb commit 47d2f02Copy full SHA for 47d2f02
src/analyses/goto_rw.cpp
@@ -613,6 +613,11 @@ void rw_range_set_value_sett::get_objects_dereference(
613
new_size=std::min(size, new_size);
614
}
615
616
+ // We must ensure that the artificial reference (introduced in
617
+ // 'value_set_dereferencet::build_reference_to') to a dynamic object
618
+ // obtained by dereferencing the pointer in 'deref' gets to the resulting
619
+ // points-to-set. The following condition check whether the obtained
620
+ // object is the artificial reference.
621
if(object.is_not_nil() && object.id()==ID_symbol &&
622
as_string(to_symbol_expr(object).get_identifier()).find(
623
get_vsderef_dynamic_object_prefix())==0UL)
0 commit comments