Here's another important commit .. I have implemented an initial support for projects, so now you can open and save all the state of radare to a file and load it again.
Currently it only dumps some debug conf, flags and comments, but I plan to export the whole eval tree , breakpoints, watchpoints, maps, program traces and code analysis. Another important feature is the addition of the trace.cmtregs eval variable that make radare comment after each step with the register diff information. *REALLY* useful for analyzing loops and algorithms. I'll think on more ways to enhace this kind of analysis with other views, filters and so (for example a register tracing can be done with: > C | sort -n | grep eax The comments can be easily sorted because they are numbered with the number of steps done. Here's a screenshot: http://radare.nopcode.org/img/traceregs.gif BTW I would like to greet esteve for the pizza ;) and pof for this nice crackme that is helping me to get more ideas for radare: http://crackmes.de/users/pof_es/pof_kgme_0x01/ ------------------------------------------------------------------ * Add trace.cmtregs to comment the difference of registers in eip. This way you can stepover a loop and easily understand what does every register. * Add command 'P' to manage radare Projects - With #RP# magic and autocompletion! - Ps ([file]) saves the project - Po ([file]) opens a project - Pi ([file]) information about the project * Add flag -P to the radare to specify a project to open: - This is the same as defining the eval file.project $ radare -P crackme01.rp dbg://./crackme01 * Store all comments in memory - Optimized way to retrieve comments from an address - More optimizations must come * A project is a file containing - flags - comments - debugger environment - some core configuration - .. more in the future * Add asm.cmtmargin - defines the left margin for comments * Moar eval vars: - dbg.setuid - dbg.setgid - dbg.chdir - dbg.chroot --pancake _______________________________________________ radare mailing list [email protected] https://lists.nopcode.org/mailman/listinfo/radare
