I have a fairly large obfuscated program, and I need to mark all of the lines as code. I was able to do this in IDC by iterating through the lines and running MakeCode. It works for small amounts of code, but when I tried it on the entire program I waited for hours and nothing happened. Is there a more efficient way to mark every line as code?

1 Answer 1

  1. Select a range (or everything: Ctrl-PgUp, Alt-L, Ctrl-PgDn)
  2. Press C
  3. Choose how you want your code converted
  • 1
    sorry, I tried this and IDA froze Commented Jun 3, 2020 at 0:43
  • try selecting smaller chunks (e.g. a single segment instead of all)
    – Igor Skochinsky
    Commented Jun 3, 2020 at 9:38

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.