summaryrefslogtreecommitdiff
path: root/python/mainthread.py
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2018-09-18 12:25:44 -0400
committerRyan Snyder <ryan@vector35.com>2018-09-18 13:07:21 -0400
commit536908c5d4ba2f919765b41a050269669c800a75 (patch)
tree5daf28ea98d84057e81f6bd61506730955ac480e /python/mainthread.py
parent1fc4e3eaffa0aa5dfb5f2c70bc350e95c9232bde (diff)
python: make BasicBlocks iterate over disassembly lines, not instrs
In certain situations Architecture implementations can return different lengths in get_instruction_info and get_instruction_text (e.g. pseudo-instructions). Since BasicBlock's __iter__ method returns disassembly lines, we should advance by the length returned by that callback instead of get_instruction_info, which could be different.
Diffstat (limited to 'python/mainthread.py')
0 files changed, 0 insertions, 0 deletions