Skip to content

Commit 18429ae

Browse files
committed
Fix taint instrumenter handling array initalisers
Previously array initialisers, having the form { .java.lang.Object = ..., .length = N, ... } were mistaken for user classes, which would have taint fields suffixed instead of a new subclass being created. They are now annotated to differentiate them from user classes and handled like primitive type wrappers like they should be.
1 parent a0b5eab commit 18429ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/irep_ids.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ IREP_ID_ONE(havoc_object)
845845
IREP_ID_TWO(overflow_shl, overflow-shl)
846846
IREP_ID_ONE(lvsa_evs_type)
847847
IREP_ID_ONE(is_initializer)
848+
IREP_ID_TWO(C_is_taint_wrapper_type, #is_taint_wrapper_type)
848849

849850
#undef IREP_ID_ONE
850851
#undef IREP_ID_TWO

0 commit comments

Comments
 (0)