Pack and Phases in Soot
Reference:
Whole-program packs¶
- jb: Jimple body creation
- wjpp: whole-jimple pre-processing pack
- before call-graph generation
- cg: call graph constructor
- wjtp: whole-jimple transformation pack
- insert inter-procedural/whole-program analysis
- compute call-graph
- wjop: while-jimple optimization pack
- implement code optimizations or other transformations of Jimple IR based on the whole-program analysis results.
- wjap: whole-jimple annotation pack
- annotate Jimple statements with additional metadata, and this metadata can be persisted in Java bytecode attributes.
Jimple packs¶
- jtp: jimple transformation pack -> intra-procedural analysis
- jop: jimple optimization pack -> optimization
- jap: jimple annotation pack
Packs bb and tag¶
- bb: jimple bodies -> Baf bodies
- tag: aggregate certain tags
