Skip to content

Feature additions #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 31, 2025
Merged

Feature additions #218

merged 10 commits into from
Mar 31, 2025

Conversation

GoGoOtaku
Copy link
Collaborator

No description provided.

pali added 10 commits March 30, 2025 07:25
Also GNU binutils recognize such PE binaries as valid and objdump can
normally display its content.

For example following Win32s system DLL libraries are of such type:
COMDLG32.DLL, SHELL32.DLL, WINSPOOL.DRV, W32SCOMB.DLL, W32SKRNL.DLL
Machine type 0x7cc is Intel EM machine and is defined in Intel EFI Application Toolkit.
Hints (name indexes) and ordinal numbers are two different things.
MSVC DUMP.EXE shows ordinal in decimal notation and hints in hexadecimal
notation. Do same to prevent confusion.
Hints (name indexes) are already parsed and printed for imported symbols.
Parse and print them also for exported symbols.

Hint as a name index is an index of the AddressOfNames table for
corresponding function name. Obviously it is not available for functions
exported as ordinal-only (without name).
If IMAGE_DEBUG_DIRECTORY contains IMAGE_DEBUG_TYPE_REPRO entry then
COFF's TimeDateStamp represents reproducible hash instead of timestamp.
PL signature is used by Phar Lap TNT DOS extender and PX signature by HX
DOS extender. Those are 32-bit DOS applications running under extenders and
created by normal PE linker with follow-up signature header modification.

So the structure of PL and PX files is same as PE, just with different
signature which prevents running applications in Windows as native, and
force Windows starting them under NTVM DOS mode.
@GoGoOtaku GoGoOtaku merged commit abe7862 into master Mar 31, 2025
3 checks passed
@GoGoOtaku GoGoOtaku deleted the patches branch March 31, 2025 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants