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

Figure out new way to tell address is a pointer without using label #2

Closed LanHikari22 closed 6 years ago

LanHikari22 commented 6 years ago

word_0 is not really a pointer even though it has xrefs and a label. Same goes for byte_2 and word_12DF, etc. For now, I removed most by adding the rule that a pointer must be greater than some address, to have location meaning

LanHikari22 commented 6 years ago

In some instances, you can tell whether a value is considered a pointer to a location, by examining that location's xrefsTo. This is only limited to if IDA thinks the value is a pointer, though. (Or if it's displayed as a pointer in that specific location)