Type issue in function.instructions
generator
#6386
Labels
Component: API
Issue needs changes to the API
Effort: Trivial
Issue should take < 1 day
Impact: Low
Issue is a papercut or has a good, supported workaround
Version and Platform (required):
Bug Description:
The
function.instructions
property generator is not properly typed.It seems that the second item of the tuple have been previously the address of the instruction, as stated in the documentation. According to my tests, it is now the size of the instruction.
Steps To Reproduce:
/bin/ls
(x86_64
oraarch64
, it does not matter).Here is the expected behavior, according to the documentation (addresses are shown as hex here for convenience):
Note
IMHO, having both the size of the instruction and its address when iterating would be handy.
The text was updated successfully, but these errors were encountered: