Closed GoogleCodeExporter closed 9 years ago
Actually, it looks like you can't work around the issue by passing a float--
that
causes the data calculation to be a non-integer number, rendering disasm_around
unable to disassemble the data. Here's a diff that should fix the issue.
Original comment by frank2%d...@gtempaccount.com
on 20 Apr 2010 at 9:47
Attachments:
Rather than using floats, you can simply reverse the order of the
multiplication and division. However, the code will still crash when num_inst
= 0. To account for this, I use the following diff on my installation:
Original comment by philshi...@gmail.com
on 12 Jun 2010 at 6:38
Attachments:
fixed. should work now. disasm_around now returns correct value for num_inst ==
1,
an returns an error value for num_inst == 0 or any float value.
Original comment by my.name....@gmail.com
on 1 Jan 2011 at 7:40
Original comment by my.name....@gmail.com
on 1 Jan 2011 at 7:41
Original issue reported on code.google.com by
frank2%d...@gtempaccount.com
on 20 Apr 2010 at 9:33