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
Probably a dead project, but I'll still file the issue:
RelocationIter assumes that the (rblock.block_size / 2) is the number of relocation entries in one block, though this is actually wrong, since, according to msft docs:
block size: The total number of bytes in the base relocation block, including the Page RVA and Block Size fields and the Type/Offset fields that follow.
When determining the next relocation block, the code correctly interprets it, but when trying to determine the number of relocation entries in one block, it forgets to subtract the block header size from the total block size.
The text was updated successfully, but these errors were encountered:
Probably a dead project, but I'll still file the issue:
RelocationIter assumes that the
(rblock.block_size / 2)
is the number of relocation entries in one block, though this is actually wrong, since, according to msft docs:When determining the next relocation block, the code correctly interprets it, but when trying to determine the number of relocation entries in one block, it forgets to subtract the block header size from the total block size.
The text was updated successfully, but these errors were encountered: