Package ghidra.test

Class ClassicSampleX86ProgramBuilder

java.lang.Object
ghidra.program.database.ProgramBuilder
ghidra.test.ClassicSampleX86ProgramBuilder

public class ClassicSampleX86ProgramBuilder extends ProgramBuilder
  • Constructor Details

    • ClassicSampleX86ProgramBuilder

      public ClassicSampleX86ProgramBuilder() throws Exception
      Construct sample program builder using the x86 language and default compiler spec. A set of predefined memory bytes, code units and functions will be added. This builder object will be the program consumer and must be disposed to properly release the program.
      Throws:
      Exception - if an unexpected exception happens
    • ClassicSampleX86ProgramBuilder

      public ClassicSampleX86ProgramBuilder(boolean disableAnalysis) throws Exception
      Construct sample program builder using the x86 language and default compiler spec. A set of predefined memory bytes, code units and functions will be added. This builder object will be the program consumer and must be disposed to properly release the program.
      Parameters:
      disableAnalysis - if true, the analysis manager will be disabled
      Throws:
      Exception - if an unexpected exception happens
    • ClassicSampleX86ProgramBuilder

      public ClassicSampleX86ProgramBuilder(String name, boolean disableAnalysis) throws Exception
      Construct sample program builder using the x86 language and default compiler spec. A set of predefined memory bytes, code units and functions will be added. This builder object will be the program consumer and must be disposed to properly release the program.
      Parameters:
      name - program name
      disableAnalysis - if true, the analysis manager will be disabled
      Throws:
      Exception - if an unexpected exception happens
    • ClassicSampleX86ProgramBuilder

      public ClassicSampleX86ProgramBuilder(String name, boolean disableAnalysis, Object consumer) throws Exception
      Construct sample program builder using the x86 language and default compiler spec. A set of predefined memory bytes, code units and functions will be added.
      Parameters:
      name - program name
      disableAnalysis - if true, the analysis manager will be disabled
      consumer - program consumer (if null this builder will be used as consumer and must be disposed to release program)
      Throws:
      Exception