upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorKanameS <nk23a4@gmail.com>2026-11-22 14:12:07 +0700
committerKanameS <nk23a4@gmail.com>2026-11-22 14:12:07 +0700
commita7543bc555f852d1e135c34d3727b5f9ff4ddd34 (patch)
tree178708752528b6385f84a83029bf90c450b72d69 /runtime/src/pe_loader.cpp
parentc63773d51235d72250d48699f29830ac9ddafd60 (diff)
pe_inspect: an unused export-table slot is not an export
_exports() listed every index below NumberOfFunctions that had no name as #<ordinal>, without reading AddressOfFunctions. A zero RVA there marks an unused ordinal, so an image with gaps in its ordinals got exports that do not exist and a count that was too high. Each unnamed slot's RVA is read now; a zero one, or one the file does not hold, is left out. A forwarder stays. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions