Skip to content

Commit 8930b1c

Browse files
committed
Ginco: Improving rules for the case SKOSImportService is present.
1 parent 6c267f6 commit 8930b1c

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

benchmarks/GENUINE/GincoRules.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,19 @@
6363
"taint": "Tainted Set"
6464
}
6565
},
66+
{
67+
"comment": "Obtained tainted Set from tainted Map",
68+
"class": "java.util.HashMap",
69+
"method": "keySet:()Ljava/util/Set;",
70+
"input": {
71+
"location": "this",
72+
"taint": "Tainted Map"
73+
},
74+
"result": {
75+
"location": "returns",
76+
"taint": "Tainted Set"
77+
}
78+
},
6679
{
6780
"comment": "Obtained tainted Iterator from tainted Set",
6881
"class": "java.util.Set",
@@ -76,6 +89,32 @@
7689
"taint": "Tainted Iterator"
7790
}
7891
},
92+
{
93+
"comment": "Obtained tainted Iterator from tainted Set",
94+
"class": "java.util.HashMap$KeySet",
95+
"method": "iterator:()Ljava/util/Iterator;",
96+
"input": {
97+
"location": "this",
98+
"taint": "Tainted Set"
99+
},
100+
"result": {
101+
"location": "returns",
102+
"taint": "Tainted Iterator"
103+
}
104+
},
105+
{
106+
"comment": "Obtained tainted Object from tainted Iterator",
107+
"class": "java.util.HashMap$KeyIterator",
108+
"method": "next:()Ljava/lang/Object;",
109+
"input": {
110+
"location": "this",
111+
"taint": "Tainted Iterator"
112+
},
113+
"result": {
114+
"location": "returns",
115+
"taint": "Tainted Thesaurus"
116+
}
117+
},
79118
{
80119
"comment": "Obtained tainted Object from tainted Iterator",
81120
"class": "java.util.Iterator",

0 commit comments

Comments
 (0)