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

Stack variable values too inconsistent #15

Open LanHikari22 opened 6 years ago

LanHikari22 commented 6 years ago

Sometimes, a stack offset is necessary. This is accounted for.

Other times, the base doesn't seem consistent, the code just appears to use different values for base.

Other instructions manipulating SP affect the base.

For most of the time, the current implementation accounts for the right stack values.

When they don't, stack variables should be manually disabled.

LanHikari22 commented 6 years ago

One example is from exe4rs: sub_8016460.

It seems to have to stack bases, and it's difficult to pinpoint the value for the stack variables

LanHikari22 commented 6 years ago

For now, stack variables are not supported.