Skip to content

Commit

Permalink
rm unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
DongjieHe committed Nov 16, 2023
1 parent a036376 commit 592063b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions qilin.core/src/qilin/core/pag/PAG.java
Original file line number Diff line number Diff line change
Expand Up @@ -347,14 +347,6 @@ public GlobalVarNode makeGlobalVarNode(Object value, Type type) {
* Finds or creates the LocalVarNode for the variable value, of type type.
*/
public LocalVarNode makeLocalVarNode(Object value, Type type, SootMethod method) {
if (value instanceof Parm || value instanceof Local || value instanceof Stmt || value instanceof Pair || value instanceof Expr
|| value instanceof JCaughtExceptionRef
) {

} else {
System.out.println(value + ";;" + value.getClass());
}
JCaughtExceptionRef x;
LocalVarNode ret = (LocalVarNode) valToValNode.get(value);
if (ret == null) {
valToValNode.put(value, ret = new LocalVarNode(value, type, method));
Expand Down Expand Up @@ -439,10 +431,6 @@ public Map<MethodPAG, Set<Context>> getMethod2ContextsMap() {
return addedContexts;
}

public boolean containsMethodPAG(SootMethod m) {
return methodToPag.containsKey(m);
}

public Collection<ContextField> getContextFields() {
return contextFieldMap.values().stream().flatMap(m -> m.values().stream()).collect(Collectors.toSet());
}
Expand Down

0 comments on commit 592063b

Please sign in to comment.