refactor: restructure large files#171
Merged
sha0coder merged 1 commit intosha0coder:mainfrom Apr 7, 2026
Merged
Conversation
ae1098e to
bfd36b3
Compare
- split emu execution flow into a directory-backed execution module - extract shared execution control, decode, REP, and multithread helpers - split kernel64 structures into domain-oriented modules - share PE reader helpers and Windows ntdll helper paths - normalize linux syscall metadata/logging shape - replace maps scalar string tags with typed enums - add/update issue sha0coder#165 tracking notes for remaining follow-up refactor: continue issue-165 large file cleanup - split linux syscall gateways into family-oriented modules while keeping ABI-specific handlers separate - extract kernel32 resolver and loader helpers for 32-bit and 64-bit paths under the issue sha0coder#128 shared-semantics, thin-ABI-adaptation rule - split winapi32/winapi64 ntdll handling into domain-oriented modules and keep common ntdll helpers intentionally small - split maps helpers into focused inspection, search, and utility modules while preserving banzai behavior, typed scalar helpers, and cross-map operations - split emu loader orchestration into format-oriented modules for PE, ELF, and Mach-O flows - update the issue sha0coder#165 todo with completed sections 9-13 and integrated validation status This commit captures the completed restructure wave and improves navigation and maintenance without forcing unsafe cross-ABI sharing or changing validated behavior. A small follow-up remains for syscall trace/log normalization. refactor: continue issue-165 closeout wave - thin linux syscall root files and push remaining handlers into family modules - thin winapi kernel32 and ntdll roots while keeping shared ntdll helpers small - split wininet, gdb target, and peb64 into folder-backed module layouts - continue the PE structural split with binding, relocation, and resource helpers - update the Issue sha0coder#165 todo with worker results and integrated validation This commit captures the current closeout wave for Issue sha0coder#165. The integrated tree was reviewed, a bad winapi32 ntdll merge artifact was corrected, and nix-based cargo check plus cargo test passed on x86_64-apple-darwin. refactor: finish issue-165 closeout wave - normalize remaining legacy linux syscall tracing behind per-ABI helper-driven formatting - finish the kernel32 pair thin-down with mirrored folder-backed concern buckets and hub-only root modules - split PE parser/load orchestration and type definitions into shared, parser, and types modules - update the issue sha0coder#165 todo and final closeout notes after the combined nix test pass This closes out the remaining structural work tracked in Issue sha0coder#165 and leaves the consciously deferred large files documented rather than half-refactored. Co-Authored-By: Codex <codex@openai.com>
bfd36b3 to
a455c3d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #165