Commit graph

33 commits

Author SHA1 Message Date
5939f22d52 Modify build system to support Windows, fix bug where a size value used to determine whether to access memory was not zero by default 2025-05-30 02:05:09 +01:00
27f8afec9a Strip down & integrate Nettle into source tree 2025-05-29 23:03:39 +01:00
4978378d31 Check endianness more thoroughly, for completeness' sake 2025-05-29 21:17:41 +01:00
ecde90741c Remove redundant header include 2025-05-29 21:03:45 +01:00
58c7757044 Make endian conversions more portable 2025-05-29 20:48:06 +01:00
3108eb3d4a Add support for DLLs 2025-05-29 19:13:01 +01:00
cdb37b5099 Roll back ELF permission handling, it is no longer needed 2025-05-29 15:42:36 +01:00
bf3ee87a96 Add functionality to determine page types within the ELF section 2025-03-24 02:53:18 +00: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
65e10e8782 Fix bug in placer, where optional headers may end up overwriting each other 2025-02-23 18:05:54 +00:00
184dee1d5e Start work on making the final XEX smaller 2025-02-19 22:07:17 +00:00
3d4fe95a27 Fix get16BitFromPE return type 2025-02-07 00:16:02 +00:00
f6d2615700 Handle TLS properly (it is unsupported) 2025-01-14 20:52:31 +00:00
da1b1a47ac Add README 2025-01-14 20:39:52 +00:00
9f4515d8ee Start using a real build system (CMake) 2025-01-14 19:37:41 +00:00
884bf43844 Fix off-by-one error in PE validation 2025-01-10 14:04:45 +00:00
6eea1399bc Remove some redundancy, harden better against bad input, clean up a bit. 2025-01-10 03:02:15 +00:00
842c40d67e Add library license information 2025-01-09 20:03:24 +00:00
20127e7af9 Fix a few things, guard memory allocations with error checks 2025-01-09 19:06:41 +00:00
2cbd05c862 Add PE mapper: this program should now generate valid (if basic) XEX files 2025-01-03 19:51:06 +00:00
d16d150809 Add some output, plan for the final piece to generate a working XEX from a PE file 2025-01-02 22:12:05 +00:00
ef151a1437 Disable imports & exports 2024-12-30 15:07:27 +00:00
d9c6951e91 Fix bug where calculated offsets do not match written offsets 2024-11-04 17:52:55 +00:00
095b42fc97 Fix header hash calculation, implement import header testing from supplemental file 2024-11-04 14:33:53 +00:00
3ea4e6088f Add header hash functionality 2024-11-01 10:13:35 +00:00
66a7d1de5c Add basefile to writeXEX routine 2024-10-31 15:42:35 +00:00
fe3bcce6bd Fix bug in page descriptor population code 2024-10-31 15:27:07 +00:00
9b3bb7fa63 Fix optional header entries with data in entry itself 2024-10-29 14:04:59 +00:00
78fdf9eca0 Fix memory leaks 2024-10-29 13:50:59 +00:00
8f84a3c5a0 Implement optional header data (mostly) 2024-10-29 13:34:40 +00:00
5c1b0a14c9 Implement page type determination 2024-10-26 00:16:39 +01:00
4681226be1 Implement basics of many important modules. 2024-10-25 09:18:19 +01:00
e3bff1eb3f Initial commit 2024-09-14 00:17:21 +01:00