Skip to content

Commit ed0b3c3

Browse files
committed
added support for the _both_ definition
1 parent b013ef9 commit ed0b3c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

soot-infoflow-android/src/soot/jimple/infoflow/android/data/parsers/PermissionMethodParser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ else if (target.equals("_SINK_"))
233233
singleMethod.setSourceSinkType(SourceSinkType.Sink);
234234
else if (target.equals("_NONE_"))
235235
singleMethod.setSourceSinkType(SourceSinkType.Neither);
236+
else if (target.equals("_BOTH_"))
237+
singleMethod.setSourceSinkType(SourceSinkType.Both);
236238
else
237239
throw new RuntimeException("error in target definition: " + target);
238240
}

0 commit comments

Comments
 (0)