You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are three appearances of these comments in rop.py # TODO: Another solution should be used here. This is a hack for compatibility reasons. to resolve the gadget address calculation of segments of elf files have a different base address if calculated segment.virtualAddress - segment.offset
The offset calculation is incorrect for PE files if imagebase is provided as a parameter.
For me in the case of PE files offset = section.offset
resolved the issue.
The text was updated successfully, but these errors were encountered:
Hi!
There are three appearances of these comments in rop.py
# TODO: Another solution should be used here. This is a hack for compatibility reasons. to resolve the gadget address calculation of segments of elf files have a different base address if calculated segment.virtualAddress - segment.offset
rop.py
The offset calculation is incorrect for PE files if imagebase is provided as a parameter.
For me in the case of PE files
offset = section.offset
resolved the issue.
The text was updated successfully, but these errors were encountered: