mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:50:53 +01:00
[PR #693] pe_inspect: parse and validate PE export forwarders table (OLD-9768) #733
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#733
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/693
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:feat/exe-export-forwarders📝 Commits (4)
64fae57pe_inspect: validate Export Address Table entries and forwarder targets against pe_loader contract2438de1pe_inspect: extract pipe escaping outside f-string for Python 3.11 compatibility0abe25dpe_inspect: validate forwarder target syntax, intra-module loops, and PE header bounds54cac1ape_inspect: gracefully reject non-x64 machine architectures in exception directory validation📊 Changes
2 files changed (+733 additions, -19 deletions)
View changed files
📝
tests/test_pe_inspect.py(+336 -0)📝
tools/pe_inspect.py(+397 -19)📄 Description
Related issues: #14, #17, #18 (restoring old upstream PR 9768, author restoration for draft PR #45).
What and why
Restores original pull request OLD-9768 authored by @abnalstlll-byte:
untime/src/pe_loader.cpp\ contracts.
Tested
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.