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 !
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.