mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:55:52 +01:00
[PR #45] pe_inspect: parse and validate PE export forwarders table #98
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#98
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/45
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9768📝 Commits (1)
369f79epe_inspect: validate Export Address Table entries and forwarder targets against pe_loader contract📊 Changes
2 files changed (+270 additions, -16 deletions)
View changed files
📝
tests/test_pe_inspect.py(+165 -0)📝
tools/pe_inspect.py(+105 -16)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Parse and validate PE export forwarders in
tools/pe_inspect.py.What and why
PE exports can contain forwarder RVAs pointing into other DLLs. This change:
pe_loadercontract.tests/test_pe_inspect.py(69/69 pass).Verification
python -I tests/test_pe_inspect.py-> 69/69 pass.python -I scripts/check_no_game_data.py-> clean (zero game data).git diff --check-> clean.AI-assisted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
needs rebase(PR-CONFLICT-LABEL) #206