Package soot

Class PackManager


  • public class PackManager
    extends Object
    Manages the Packs containing the various phases and their options.
    • Field Detail

      • DEBUG

        public static boolean DEBUG
    • Method Detail

      • onlyStandardPacks

        public boolean onlyStandardPacks()
      • hasPack

        public boolean hasPack​(String phaseName)
      • getPack

        public Pack getPack​(String phaseName)
      • hasPhase

        public boolean hasPhase​(String phaseName)
      • runPacks

        public void runPacks()
      • runBodyPacks

        public void runBodyPacks()
      • writeOutput

        public void writeOutput()
      • writeDexOutput

        protected void writeDexOutput()
      • writeClass

        protected void writeClass​(SootClass c)
      • createASMBackend

        protected BafASMBackend createASMBackend​(SootClass c)
        Factory method for creating a new backend on top of ASM. At the moment, we always start from BAF. Custom implementations can use other techniques.
        Parameters:
        c - The class for which to create the ASM backend
        Returns:
        The ASM backend for writing the class into bytecode