Skip to content

Commit 8c57cfc

Browse files
Merge pull request diffblue#124 from diffblue/mariusmc92/bugfix/enable-strong-updates-security-scanner-recency
Fixed bug that didn't make strong updates in taint
2 parents 85405cf + 9780dbf commit 8c57cfc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/pointer-analysis/local_value_set_analysis.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,12 @@ bool local_value_set_analysist::is_singular(const std::set<exprt> &values)
364364
if(values.size()!=1)
365365
return false;
366366

367-
const exprt &object=*values.begin();
367+
exprt object=*values.begin();
368+
if(object.id()==ID_member)
369+
{
370+
object=object.op0();
371+
}
372+
368373
if(object.id()==ID_dynamic_object)
369374
{
370375
return to_dynamic_object_expr(object).get_recency()==

0 commit comments

Comments
 (0)