Skip to content

Commit c5f59e8

Browse files
committed
Merge pull request diffblue#23 from NathanJPhillips/bugfix/taint-regression-broken
Fixed taint configuration
1 parent 40a65dc commit c5f59e8

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

regression/taint/taint_traces_01/taint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"id": "source_0_X1",
44
"kind": "source",
55
"where": "return_value",
6+
"immediate": true,
67
"taint": "X1",
78
"function": "Main.taint_source_X1_retval"
89
},
@@ -18,9 +19,9 @@
1819
"id": "sink_0_X1",
1920
"kind": "sink",
2021
"where": "parameter1",
22+
"immediate": true,
2123
"taint": "X1",
2224
"function": "Main.taint_sink_X1_arg_0",
2325
"message": "sink(X1)"
2426
}
2527
]
26-

regression/taint/taint_traces_02/taint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"id": "source_id",
44
"kind": "source",
55
"where": "return_value",
6+
"immediate": true,
67
"taint": "X1",
78
"function": "Test.taint_source_01"
89
},
@@ -18,6 +19,7 @@
1819
"id": "sink_id",
1920
"kind": "sink",
2021
"where": "parameter1",
22+
"immediate": true,
2123
"taint": "X1",
2224
"function": "Test.taint_sink_01",
2325
"message": "sink"

regression/taint/taint_traces_03/taint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"id": "source_id",
44
"kind": "source",
55
"where": "return_value",
6+
"immediate": true,
67
"taint": "X1",
78
"function": "Test.taint_source_01"
89
},
@@ -18,6 +19,7 @@
1819
"id": "sink_id",
1920
"kind": "sink",
2021
"where": "parameter1",
22+
"immediate": true,
2123
"taint": "X1",
2224
"function": "Test.taint_sink_01",
2325
"message": "sink"

regression/taint/taint_traces_04/taint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"id": "source_0_X1",
44
"kind": "source",
55
"where": "return_value",
6+
"immediate": true,
67
"taint": "X1",
78
"function": "Other.source"
89
},
@@ -18,6 +19,7 @@
1819
"id": "sink_0_X1",
1920
"kind": "sink",
2021
"where": "parameter1",
22+
"immediate": true,
2123
"taint": "X1",
2224
"function": "Main.taint_sink_X1_arg_0",
2325
"message": "sink(X1)"

regression/taint/taint_traces_05/taint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
"id": "my_source",
44
"kind": "source",
55
"where": "return_value",
6+
"immediate": true,
67
"taint": "X1",
78
"function": "TaintSource.get_tainted_int"
89
},
910
{
1011
"id": "my_sink",
1112
"kind": "sink",
1213
"where": "parameter1",
14+
"immediate": true,
1315
"taint": "X1",
1416
"function": "TaintSink.receive_taint",
1517
"message": "Unescaped HTML written to DAO"

0 commit comments

Comments
 (0)