How to Find native methods from a java bytecode #1290
rupeshkoushik07
started this conversation in
General
Replies: 1 comment
|
Native methods have a native modifier. There is a isNative method to check if a given method is native. List<JavaSootMethod> natives=view.getClasses()
.flatMap(javaSootClass -> javaSootClass.getMethods().stream())
.filter(JavaSootMethod::isNative)
.toList(); |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In SootUp, what algorithm is used to walk the class hierarchy, and how does it detect that a given method is implemented natively?
All reactions