Commit graph

19 commits

Author SHA1 Message Date
4d67f29fa3
Get imports *finally* working (remove special handling for functions and treat them as variables) 2025-06-30 15:16:20 +01:00
9d36dd8ec9
Do more work on imports 2025-06-30 00:03:06 +01:00
3c46c6cf74 Restore comments which were accidentally deleted during reformatting 2025-06-21 21:46:43 +01:00
f6610667ae Remove prints from everywhere but main, fix bug where only part of an import library version was set 2025-06-16 22:06:31 +01:00
b646f28812 Tweak formatting, add CONTRIBUTING.md 2025-06-16 21:31:17 +01:00
1ff1e8f93f Reformat all code to modified Allman/BSD style 2025-06-16 15:31:35 +01:00
Vali0004
4e053b09ca Refactor code style, and add hardening
Signed-off-by: Aiden Isik <aidenisik+srht@member.fsf.org>
2025-06-16 14:27:12 +01:00
d82fd383f0 Rework executable type logic, add command line option to override it 2025-06-09 19:10:55 +01:00
32bdb84887 Fix unaligned pointer accesses and buffer overflow bug in freeImportLibrariesStruct 2025-06-09 14:57:06 +01:00
81b649ca32 Finish import table generation 2025-06-09 13:47:58 +01:00
1b62027120 Fix name table stuff 2025-06-08 19:01:22 +01:00
080df81ef6 Add code to populate XEX import libraries header (breaks things, need to fix) 2025-06-08 16:42:13 +01:00
c0607ecc49 Improve error handling in main, other misc bug fixes 2025-06-03 18:24:07 +01:00
24c68d7ff1 Put better memory management routines in place (TODO: use them everywhere) 2025-06-03 01:27:05 +01:00
3d61b9b24f Roll back zero-elimination support (it only seems to work between PE sections, not within them, making it effectively useless for the structure of XEX generated by FreeChainXenon) 2025-02-23 22:28:50 +00:00
184dee1d5e Start work on making the final XEX smaller 2025-02-19 22:07:17 +00:00
20127e7af9 Fix a few things, guard memory allocations with error checks 2025-01-09 19:06:41 +00:00
ef151a1437 Disable imports & exports 2024-12-30 15:07:27 +00:00
8f84a3c5a0 Implement optional header data (mostly) 2024-10-29 13:34:40 +00:00