I have an idapython script which automatically defines bytes as code by a predefined configuration.
The problem is that when it defines the block of bytes as code (by idc.create_insn) it does not define references automatically.
For example, this is the outcome of the function:
And this is the expected result:
If 0x80004F0 cannot be defined automatically as offset, how can I programatically (with idapython) set it to be so?