Skip to content

Commit a9f96e7

Browse files
author
thk123
committed
Added --function flag to make taint tests pass
1 parent 402ec71 commit a9f96e7

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

regression/goto-analyzer/taint-aliasing1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
aliasing1.class
3-
--taint taint.json
3+
--taint taint.json --function aliasing1.my_method
44
^EXIT=0$
55
^SIGNAL=0$
66
^file aliasing1.java line 10( function .*)?: There is a flow \(taint rule my_sink\)$

regression/goto-analyzer/taint-basic1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
basic1.class
3-
--taint taint.json
3+
--taint taint.json --function basic1.my_method
44
^EXIT=0$
55
^SIGNAL=0$
66
^file basic1.java line 8( function .*)?: There is a T1 flow \(taint rule my_h1\)$

regression/goto-analyzer/taint-basic2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
basic2.class
3-
--taint taint.json
3+
--taint taint.json --function basic2.my_method
44
^EXIT=0$
55
^SIGNAL=0$
66
^file basic2.java line 8( function .*)?: There is a T1 flow \(taint rule my_h1\)$

regression/goto-analyzer/taint-interface1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
interface1.class
3-
--taint taint.json
3+
--taint taint.json --function interface1.my_method
44
^EXIT=0$
55
^SIGNAL=0$
66
^file interface1.java line 18( function .*)?: There is a flow! \(taint rule sink_rule\)$

regression/goto-analyzer/taint-interproc1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
interproc1.class
3-
--taint taint.json
3+
--taint taint.json --function interproc1.my_method
44
^EXIT=0$
55
^SIGNAL=0$
66
^file interproc1.java line 13( function .*)?: There is a T1 flow \(taint rule my_h1\)$

regression/goto-analyzer/taint-map1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
KNOWNBUG
22
map1.class
3-
--taint taint.json
3+
--taint taint.json --function map1.my_method
44
^EXIT=0$
55
^SIGNAL=0$
66
^file map1.java line 12( function .*)?: There is a flow \(taint rule my_sink\)$

0 commit comments

Comments
 (0)