def run(): if currentProgram.getExecutableFormat() != ElfLoader.ELF_NAME: popup('Not an ELF file, cannot continue') return arch = 'powerpc' abi = 'default' obj = Syscalls(currentProgram, currentSelection, monitor, arch, abi)
def run(): if currentProgram.getExecutableFormat() != ElfLoader.ELF_NAME: popup('Not an ELF file, cannot continue') return arch = getDebianName(currentProgram) if arch == None: popup('Architecture not defined') return abi = 'default' if arch not in DEFAULT_ABIS else DEFAULT_ABIS[arch] obj = Syscalls(currentProgram, currentSelection, monitor, arch, abi)