This morning I was thinking about how to better implement all the code definition commands and how they will be imported/exported from/to the projects files.
This gives me the idea of how to easily implement a foldering functionality to reduce the visible code on the screen, folding and unfolding the uninterested code. After a day of autobrainstorming I finally decided how to do it and the initial PoC of it has been commited into the repository. I plan to extend the folding capabilities into the code analysis module, to be able to interactively expand tabulated code under a jump or call using the '>' and '<' keys. Actually the visual code of radare needs some more work to achieve an usable state for all this stuff, I would like to have most of this stuff implemented for the 0.9.4. Here's a sample screenshot of the current folding implementation: http://radare.nopcode.org/img/folders.gif There are actually some bugs in the byte selection and comment assignment, but it's just a 'test' :P feel free to test it and let me know your ideas for this feature. I think that in a final state of all this stuff it will be possible to write a lua script to funroll a packed program to avoid jump noise and keep all the code indentation clean and ready to be read by humans. Have fun! :/time2sleep()/zZzzZ --pancake _______________________________________________ radare mailing list [email protected] https://lists.nopcode.org/mailman/listinfo/radare
