Skip to content

Commit 177781b

Browse files
authored
Merge pull request #4 from secure-software-engineering/develop
Phantom methods are skipped now as sanitizers during query execution.
2 parents 51b9868 + 034392d commit 177781b

File tree

1 file changed

+1
-1
lines changed
  • de.fraunhofer.iem.secucheck.analysis/src/main/java/de/fraunhofer/iem/secucheck/analysis/internal

1 file changed

+1
-1
lines changed

de.fraunhofer.iem.secucheck.analysis/src/main/java/de/fraunhofer/iem/secucheck/analysis/internal/SingleFlowAnalysis.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ private Map<SootMethod, Body> setEmptySootBodies(List<Method> methods){
294294

295295
for (Method method : methods) {
296296
SootMethod sootMethod = Utility.getSootMethod(method);
297-
if (sootMethod != null) {
297+
if (sootMethod != null && !sootMethod.isPhantom()) {
298298
Body body = sootMethod.getActiveBody();
299299
if (body != null) {
300300
oldBodies.put(sootMethod, body);

0 commit comments

Comments
 (0)