Package ghidra.test

Class ClassicSampleX86ProgramBuilder

    • Constructor Detail

      • ClassicSampleX86ProgramBuilder

        public ClassicSampleX86ProgramBuilder()
                                       throws java.lang.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:
        java.lang.Exception - if an unexpected exception happens
      • ClassicSampleX86ProgramBuilder

        public ClassicSampleX86ProgramBuilder​(boolean disableAnalysis)
                                       throws java.lang.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:
        java.lang.Exception - if an unexpected exception happens
      • ClassicSampleX86ProgramBuilder

        public ClassicSampleX86ProgramBuilder​(java.lang.String name,
                                              boolean disableAnalysis)
                                       throws java.lang.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:
        java.lang.Exception - if an unexpected exception happens
      • ClassicSampleX86ProgramBuilder

        public ClassicSampleX86ProgramBuilder​(java.lang.String name,
                                              boolean disableAnalysis,
                                              java.lang.Object consumer)
                                       throws java.lang.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:
        java.lang.Exception