Skip to content

Commit

Permalink
Avoiding NPE caused by PR soot-oss#1987
Browse files Browse the repository at this point in the history
  • Loading branch information
Goran Piskachev committed Jul 21, 2023
1 parent 6f2ee58 commit 1ac2705
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/soot/jimple/spark/internal/TypeManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ final public BitVector get(Type type) {
logger.warn("Type mask not found for type " + type
+ ". This is casued by a cast operation to a type which is a phantom class " +
"and no type mask was found. This may affect the precision of the point-to set.");
return new BitVector();
}
}
return ret;
Expand Down

0 comments on commit 1ac2705

Please sign in to comment.