Skip to content

Commit

Permalink
FIX: PE: wrong import size
Browse files Browse the repository at this point in the history
  • Loading branch information
qtxie committed Oct 1, 2024
1 parent eb3c177 commit 8e5c6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/formats/PE.r
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ context [
oh/data-dir-nb: 16
;-- data directory
oh/import-addr: named-sect-addr? job 'import
oh/import-size: length? job/sections/import/2
oh/import-size: (length? form-struct import-directory) * (1 + divide length? job/sections/import/3 2)
oh/IAT-addr: named-sect-addr? job 'idata
oh/IAT-size: length? job/sections/idata/2

Expand Down

0 comments on commit 8e5c6ca

Please sign in to comment.