LanHikari22 / GBA-IDA-Pseudo-Terminal

IDAPython tools to aid with analysis, disassembly and data extraction using IDA python commands, tailored for the GBA architecture at some parts
13 stars 1 forks source link

running database idc and disassembling doesn't compile without manual changes #16

Open LanHikari22 opened 6 years ago

LanHikari22 commented 6 years ago

The goal is, an idc script running on an analysis IDB, with some fix commands being run, should be all the work required to get a compiling and matching disassembly out of the database.

The module should provide automated tests that would ensure that.

LanHikari22 commented 6 years ago

Series of fixes to be run: pt.fix.remFuncChunks() pt.fix.removeStackVarUsages(0x8000000, 0x8800000) pt.fix.makeThumb(0x8000000, 0x8800000) # a number of times, until none are left

Macros must also be disabled. There shouldn't be instructions like "movs r0, #0x100000" Pointer Dereferencing must be enabled. Pool instructions should have =symbol, in them.