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?
Uto undefine it,Cto mark it as code,Pto mark it as a function. – DCoder Jun 21 '13 at 04:22UandP; no need to useCif you're going to usePanyway. – Jason Geffner Jun 21 '13 at 15:30U), then highlighting the undefined bytes and pressing (P). Glad you got it working withC, though! – Jason Geffner Jun 24 '13 at 14:36