Closed ghost closed 8 years ago
can you please send a pull request?
btw, what is the value of cpuname
in this case?
The loader sets the processor with
idaapi.set_processor_type('ARM:ARMv7-M', idaapi.SETPROC_ALL | idaapi.SETPROC_FATAL)
and
idaapi.get_inf_structure().procName
is as usual 'ARM' for little endian and 'ARMB' for big endian.
IMO you should fix your loader to set the 32-bit flag (LFLG_PC_FLAT
) anyway.
@skochinsky: as you are here, i have a quick question: how can i tell IDA to look for my Python module (Keystone in this case) in a specific path? my module is under /usr/local
, but apparently IDA does not look there, but only /usr
.
thanks.
fixed, thanks!
Hello, I'm working with Cortex-M3 firmware images. This MCU only supports Thumb2 instructions, which might be the reason why these files are neither 32 or 64 bit in the info structure. That's how I solved this problem for me: