awgh
dd7757eeb3
Add relocation editing support across ELF/Mach-O/PE with tests
...
- implement relocation add/replace APIs and serialization updates per format
- generate dyld rebase/bind info from Mach-O relocs with optional ordinals
- update ELF dynamic relocation tags and safe relayout handling
- add/extend relocation tests and stabilize existing test suite
2026-01-23 20:55:41 -08:00
C-Sto
cb72c7d000
fix in-memory PE file symbol table offset pointer on write
2020-11-01 09:53:13 +08:00
awgh
db623b874a
Commenting out debug prints. Need a debug/warning/error log scheme in here.
2020-06-20 10:23:50 -07:00
Vyrus
9846938ecd
fixed bug dealing with rich header writes and files with no dos stub
2019-09-29 00:27:09 -07:00
awgh
d472551263
Commenting out some debug logging
2019-08-05 14:26:35 -07:00
awgh
8d4fd1e576
Fixed an integer overflow causing shellcode bug in x64.
2019-08-02 23:59:45 -07:00
awgh
8de2a11f74
Fixed padding for 64bit, shellcode isn't quite working for 64bit.
2019-08-02 20:25:13 -07:00
awgh
804a7d342d
Made enhancements to allow adding sections that never existed in the original file.
...
Added some PE consts that were missing along the way.
2019-08-02 14:52:13 -07:00
Andrew LeFevre
2f826f277d
Small optimization to only write PE cert info if it changed
2019-01-28 18:05:24 -05:00
Andrew LeFevre
ac54a07fc1
Separate PE writing logic into two functions, fix cert writing (again)
2019-01-28 17:15:04 -05:00
Andrew LeFevre
564c67b7e0
More refactoring/fixing
2019-01-28 15:53:11 -05:00
Andrew LeFevre
b8a29f67bf
Refactored and improved cert writing code
2019-01-28 14:47:04 -05:00
Andrew LeFevre
a9b465661b
Small tweak to correctly write certain files that don't have a Rich header
2019-01-28 13:55:48 -05:00
Andrew LeFevre
e3d3d8509f
PE parsing and writing Rich header working
2019-01-27 23:36:30 -05:00
Andrew LeFevre
ad93c6b189
pe.Write now working with certs
2019-01-17 23:06:18 -05:00
Andrew LeFevre
85680fcd79
pe.Write mostly complete, produces files that execute but with different hashes...
2019-01-17 21:59:53 -05:00
Andrew LeFevre
6bb96c4eba
File header writing working for PEs
2019-01-17 19:22:38 -05:00