public class PackManager extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
protected DexPrinter |
dexPrinter |
Constructor and Description |
---|
PackManager(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
Collection<Pack> |
allPacks() |
void |
coffiMetrics() |
BafBody |
convertJimpleBodyToBaf(SootMethod m) |
protected BafASMBackend |
createASMBackend(SootClass c)
Factory method for creating a new backend on top of ASM.
|
JarOutputStream |
getJarFile() |
Pack |
getPack(String phaseName) |
HasPhaseOptions |
getPhase(String phaseName) |
Transform |
getTransform(String phaseName) |
boolean |
hasPack(String phaseName) |
boolean |
hasPhase(String phaseName) |
boolean |
onlyStandardPacks() |
void |
runBodyPacks() |
void |
runPacks() |
static PackManager |
v() |
protected void |
writeClass(SootClass c) |
protected void |
writeDexOutput() |
void |
writeOutput() |
protected void |
writeOutput(Iterator<SootClass> classes) |
public static boolean DEBUG
protected DexPrinter dexPrinter
public PackManager(Singletons.Global g)
public static PackManager v()
public boolean onlyStandardPacks()
public boolean hasPack(String phaseName)
public boolean hasPhase(String phaseName)
public HasPhaseOptions getPhase(String phaseName)
public Collection<Pack> allPacks()
public void runPacks()
public void coffiMetrics()
public void runBodyPacks()
public JarOutputStream getJarFile()
public void writeOutput()
protected void writeDexOutput()
public BafBody convertJimpleBodyToBaf(SootMethod m)
protected void writeClass(SootClass c)
protected BafASMBackend createASMBackend(SootClass c)
c
- The class for which to create the ASM backendCopyright © 2020 Sable. All rights reserved.