Created
February 1, 2018 17:02
-
-
Save danilo04/13ed8e2d5e0e52b7513619194b6512a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PackManager.v().getPack("jtp").add( | |
new Transform("jtp.methodinstrumenter", new BodyTransformer() { | |
@Override | |
protected void internalTransform(Body body, String arg1, | |
Map<String, String> arg2) { | |
// this method runs for all the methods in the app under analysis | |
UnitGraph g = new ExceptionalUnitGraph(body); | |
// unit graph is a statement based control flow graph | |
} | |
})); | |
soot.Main.main(newArgs); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment