Yup. Sorry for the ones expecting a release for the prev.week. I have decided 
to continue pushing snapshots until we reach some more todo points done.

this weekend, nibble and me spent some time working on the macro engine to 
support more features and start optimizing some points.

i would like to see some parts of libr integrated with the core for the 
upcomming 1.1, and actually this is just a draft. But we expect to have r.io, 
r.cons and r.bin integrated before the end of the year.

one of the nicest features we have added is the inline grep engine which 
permits to grep words lines and columns wihout using pipes against the system.

heres one example:

[EMAIL PROTECTED]

ok this is not that obvious..so lets explain ;)

the ~ introduces a grep expression that will get the lines of sym.main 
(pdf=print disasm function) containing the word 'call'.

The rest are optional and are used to get the matching line number # and the 
column (splitted by spaces,tabs,commas..) is specified by the [] brackets.

now having this in mind we can write a very simple oneliner to iterate over all 
the analyzed functions of the program:

(iter-functions\()'[EMAIL PROTECTED])

you will probably think that this is fucking inpronunciable..yup..it is,but 
when you understand the reason of every char you will be able to write macros 
to do what you need in very little time.

Then if you want something more readable or maintainable i encourage you to use 
the python or ruby apis. But plz..ppl interested in this support feed me with 
patches, im not going to spend lot of time on it because i have so many work in 
the core nowadays :)

i will introduce some basic macros to be added by default in the macro engine 
at startup to ease the use of them by just specifying the name.

thanks for listening..

_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to