Methods iterator in sootup #696
Closed
vskrishnan27
started this conversation in
General
Replies: 2 comments
-
have a look at the getting started https://soot-oss.github.io/SootUp/getting-started/#retrieving-a-method |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi swissiety, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SootMethod method;
for (SootClass c : Scene.v().getApplicationClasses()) {
if(c.getName().equals("example.HelloWorld")){
for (SootMethod m : c.getMethods()) {
if (!m.hasActiveBody()) {
continue;
}
if (m.getName().equals("entryPoint")) {
method = m;
break;
}
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions