I would like to know if there is any way to modify the algorithm used in IDA pro. I have a binary where I suspect that junk isn't junk, and I would like to see what output would a linear disassembly do, but I could not find any option in IDA Pro to change that. Does it even exist? Thanks !

  • You can select the bytes you want and press c to interpret them as code.
    – bart1e
    Jul 18, 2019 at 15:25
  • @bart1e I know, this is not my question.
    – Nark
    Jul 18, 2019 at 15:29

1 Answer 1


IDA doesn't have a built-in linear sweep mode. You do have a couple of options though. In kernel options 2, you can uncheck coagulate code/data segments before doing the initial analysis, this will prevent IDA from converting unknown bytes into data. You could also try undefining everything, selecting everything, and then hitting C to convert it to code.

  • You can make idc/idapython script that marks every address as code
    – Avery3R
    Jul 19, 2019 at 19:43

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.