Thanks. Applied! On 28/08/2011, at 8:20, flux <[email protected]> wrote:
> Attached is a patch to fix the parsing of numbers in rax2 (mentioned in > TODO for 0.9). > > The input strings were being parsed for string-final 'd' before > string-initial 'Bx', 'Ox', etc., so hex numbers destined for > binary/octal/etc. output that ended in the digit 'd' (decimal 13) were > wrongly interpreted as the input string for converting binary->decimal. > This resulted in "rax2 Bx1d" being interpreted as "rax2 1d", which is of > course decimal 1. The parsing was corrected by moving the catch-all > string-final 'd' check to after all the string-initial checks. > > -- > Justin "flux_control" Boffemmyer > Cauldron wizard and general mage > Source Mage GNU/Linux > http://www.sourcemage.org > <rax2.patch> > _______________________________________________ > radare mailing list > [email protected] > http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org _______________________________________________ radare mailing list [email protected] http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
