コード例 #1
0
        public static void Disassemble(Executable executable, Address entryPoint)
        {
            ExecutableDisassembler dasm = new ExecutableDisassembler(executable);

            dasm.Analyze(entryPoint);
        }
コード例 #2
0
        private void DoOpenExeFile(string fileName)
        {
            //MZFile mzFile = new MZFile(fileName);
            //mzFile.Relocate(0x1000); // TODO: currently we don't support loadin
            // at segment 0. We should fix this later.
            Executable executable = new Executable(fileName);
            ExecutableDisassembler dasm = new ExecutableDisassembler(executable);
            dasm.Analyze();

            this.program = executable;
            //this.disassemblyList.Image = image;
            this.procedureList.Program=program;
            this.errorList.Program = program;
            this.segmentList.Program = program;
            // this.propertiesWindow.Image = image;
        }
コード例 #3
0
 public static void Disassemble(Executable executable, Address entryPoint)
 {
     ExecutableDisassembler dasm = new ExecutableDisassembler(executable);
     dasm.Analyze(entryPoint);
 }