2

I am writing a script in IDA Pro. I noticed that when I rename functions with "n" in the disassembly view, that same function is not being renamed in the decompilation.

I have never noticed this before. Is this normal operating behavior? If so, how can you automatically transfer the names from the disassembly view to the decompilation view?

(I have notice this also happens when I rename functions with a script).

4
  • Have you tried to just decompile it again?
    – Robert
    Commented Apr 2, 2020 at 19:46
  • I have, my first instinct was to close the decompilation view, and then press tab again. It still doesn't show up. Commented Apr 2, 2020 at 20:07
  • It seems like it works when I close/reopen IDA Pro -- I guess that's one way to do it. :/ Commented Apr 2, 2020 at 20:15
  • 1
    As far as I remember TAB does trigger the decompilation if it already has been decompiled. Press F5 to force decompilation.
    – Robert
    Commented Apr 3, 2020 at 9:32

1 Answer 1

2

If you rename things outside of pseudocode view, it’s not updated automatically and you need to press F5to refresh decompilation with current data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.