I am working on an obfuscated binary. IDA did pretty good job distinguishing code from junk. However, I had started messing around with a function changing from code
to data
and vice versa and completely messed the function up and destroyed the way it looked like. I don't want to start new database on the executable and re-do all my work.
Is there a way to re-analyse a single function and return it to the way it looked like after initial analysis?
U
to undefine it,C
to mark it as code,P
to mark it as a function.U
andP
; no need to useC
if you're going to useP
anyway.U
), then highlighting the undefined bytes and pressing (P
). Glad you got it working withC
, though!