We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1cbbbd commit c53e51cCopy full SHA for c53e51c
src/main/java/soot/jimple/toolkits/callgraph/ReachableMethods.java
@@ -82,9 +82,11 @@ protected void addMethod(MethodOrMethodContext m) {
82
public void update() {
83
while (edgeSource.hasNext()) {
84
Edge e = edgeSource.next();
85
- MethodOrMethodContext srcMethod = e.getSrc();
86
- if (!e.isInvalid() && srcMethod != null && set.contains(srcMethod)) {
87
- addMethod(e.getTgt());
+ if (e != null) {
+ MethodOrMethodContext srcMethod = e.getSrc();
+ if (!e.isInvalid() && srcMethod != null && set.contains(srcMethod)) {
88
+ addMethod(e.getTgt());
89
+ }
90
}
91
92
while (unprocessedMethods.hasNext()) {
0 commit comments