I working with ARM executable.
Sometimes I have something like this
MOV R0, #0xCD548A40
where the number
#0xCD548A40 is a valid offset but IDA doesn't recognize it as such automatically.
I tried to reanalyze the executable with enabled option "Automatically convert data to offsets" without of any suitable result.
I also tried to write IDAPython script to fix this, but the only possibility of conversion to offset that I found was:
idaapi.jumpto(address) idaapi.process_ui_action("OpOffset", 0)
Which is not too much convenient to use.
Given an instruction at specific address and one of its operands in a valid offset range is it possible to convert such numbers to offsets using IDA Python ?
Which IDAPython API should I use for it ?