Bear with me as I am new to IDA and have not managed to find an answer to my question on google or other related outlets.
I am reversing a firmware blob from an ARM device of which I have a c header file defining various memory locations as follows:
#define IO_LCD_OUT 0x4000000
Is there a way I can load this header file into IDA in order to redefine immediate values?
For Example, instead of:
MOV R12, #0x4000000
Could IDA instead print:
MOV R12, IO_LCD_OUT
Are there other ways to acheive this outcome aside from how I am trying to approach this? I have the header file with memory locations defined and would like to load that information into ida!
I have tried to parse it using File -> Load File -> Parse C Header File and have had no luck!