7 Commits
Author SHA1 Message Date
mirkobrombin d50b58338c fix: load libraries whose export table has unnamed slots
Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: Made the export parser skip empty names, as tools that fill the table after linking leave them.
2026-10-30 10:34:51 +00:00
mirkobrombin 84a58b75f2 chore: merge main into the command-line tools 2026-10-28 16:32:10 +00:00
willandwilliam ad4750624e fix: skip a delay import table that only exists once a packed program runs (#30)
UPX-packed programs keep their delay import directory in a section with no
data in the file (UPX0); the unpacker writes it after the program starts.
The startup scan added in cea6ca7 reads every module's delay table, so
file_span throws "PE RVA has no file-backed data" and the program exits
before it runs. 64-bit programs and DLLs hit the same check through
validate_native_image.

Treat a table that lies entirely in the virtual-only part of a section as
not present in the file yet. A table that starts in file data and runs past
it is still rejected.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: diagnosis, patch and test drafted with an AI assistant from a failing installer run; I reviewed, tested and verified them

Co-authored-by: william <[email protected]>
2026-10-28 16:50:27 +01:00
Raymond Bennett ef953e9325 feat: start console programs on the terminal and give every prefix a cmd.exe
A console program started from a terminal gets it as its console without --stdio=inherit. CreateProcess runs .bat and .cmd
files through cmd /c, as Windows does. The console code pages start as UTF-8, since Raven has no table for code page 437.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: Wrote the subsystem check, the batch-file launch, a first command processor from Microsoft's public cmd documentation and its test.
2026-10-27 23:19:39 -04:00
Mirko Brombin ea32d26a36 feat: load .NET images, mixed and nested libraries, and unload a library whose DllMain refuses 2026-09-23 00:12:49 +00:00
Mirko Brombin 7419642b50 feat: map no more raw section data than the virtual size, as self-extracting setups need 2026-09-21 12:31:04 +00:00
Mirko Brombin 154272073d feat: preserve native C++ migration 2026-07-31 16:46:25 +02:00