Folkert
|
66a83a9705
|
copy in the app's .rdata section
|
2022-09-19 18:08:17 +02:00 |
|
Folkert
|
631a1b6302
|
fold experimental stuff into old test
|
2022-09-19 15:23:47 +02:00 |
|
Folkert
|
3cd2bf6ad4
|
more cleanup
|
2022-09-19 15:21:34 +02:00 |
|
Folkert
|
3ca3aae549
|
slowly cleaning up
|
2022-09-19 15:08:47 +02:00 |
|
Folkert
|
05aba03b87
|
actually append the app bytes into the new section
|
2022-09-19 12:50:02 +02:00 |
|
Folkert
|
322091353e
|
using the mmap
|
2022-09-19 12:03:02 +02:00 |
|
Folkert
|
4c8475fb74
|
empty second text section
|
2022-09-19 11:59:45 +02:00 |
|
Folkert
|
28fb72cca3
|
extra .text section created
|
2022-09-19 11:54:45 +02:00 |
|
Folkert
|
2b0ec6c227
|
help the type checker
|
2022-09-19 11:36:47 +02:00 |
|
Folkert
|
b881af47cb
|
first surgical link on PEs
|
2022-09-19 10:43:37 +02:00 |
|
Folkert
|
841c478b98
|
update the length of imports in the data directory after removing our dummy dll
|
2022-09-18 17:23:50 +02:00 |
|
Folkert
|
6005ed0664
|
add test that combines a zig platform with a dll
|
2022-09-18 14:11:46 +02:00 |
|
Folkert
|
61366f0d43
|
add test for preprocessing on a zig host
|
2022-09-18 13:42:21 +02:00 |
|
Folkert
|
daa7e72a2f
|
clarify comment
|
2022-09-18 01:00:36 +02:00 |
|
Folkert
|
270949aa07
|
Revert "add test for preprocessing on a zig host"
This reverts commit 5ee12aeb7d .
|
2022-09-18 00:58:34 +02:00 |
|
Folkert
|
5ee12aeb7d
|
add test for preprocessing on a zig host
|
2022-09-18 00:58:27 +02:00 |
|
Folkert
|
4f51f18a08
|
remove a constant, add an assert
|
2022-09-18 00:32:55 +02:00 |
|
Folkert
|
c7bb2672a9
|
fix typo
|
2022-09-17 14:44:37 +02:00 |
|
Folkert
|
92514a1499
|
custom logic around finding 'forward' exports
|
2022-09-17 14:42:36 +02:00 |
|
Folkert
|
0da6484618
|
add some asserts about addresses in the dummy dll generation
|
2022-09-17 14:37:10 +02:00 |
|
Brian Carroll
|
b0c4f74109
|
Add some extra context clues to a name and a comment
|
2022-09-17 07:44:41 +01:00 |
|
Folkert
|
c00e458bad
|
refactor
|
2022-09-15 20:06:07 +02:00 |
|
Folkert
|
bad715e18a
|
add some objdump snippets to make clearer what is happening
|
2022-09-15 19:37:28 +02:00 |
|
Folkert
|
132ea07191
|
refactor out a constant
|
2022-09-15 19:37:12 +02:00 |
|
Folkert
|
1b74dec8ac
|
remove test
|
2022-09-14 21:19:39 +02:00 |
|
Folkert
|
cead509255
|
comment out test
|
2022-09-14 21:19:25 +02:00 |
|
Folkert
|
d8c0c176d8
|
comment
|
2022-09-14 18:31:27 +02:00 |
|
Folkert
|
2e8952d8a7
|
windows PE preprocessing of the .exe
|
2022-09-14 18:02:01 +02:00 |
|
Folkert
|
af8f54bfbd
|
find and decode the dynamic relocations in .exe files
|
2022-09-07 17:52:19 +02:00 |
|
Folkert
|
6fff224c77
|
PE cleanup after review elsewhere
|
2022-09-07 14:07:52 +02:00 |
|
Folkert
|
8a2aa076ee
|
cleanup
|
2022-09-07 14:07:52 +02:00 |
|
Folkert
|
c46f8a0073
|
create a dummy elf .so from scratch
|
2022-09-07 14:07:52 +02:00 |
|
Folkert de Vries
|
bdbaa9dda2
|
Merge pull request #3956 from roc-lang/refactor-surgery
minor cleanup of surgery
|
2022-09-06 19:17:02 +02:00 |
|
Folkert de Vries
|
33ae4c2655
|
Merge branch 'main' into windows-surgical-dll
Signed-off-by: Folkert de Vries <folkert@folkertdev.nl>
|
2022-09-05 11:31:19 +02:00 |
|
Folkert
|
af74f72f8a
|
minor tweaks
|
2022-09-03 14:45:22 +02:00 |
|
Folkert
|
ff7df65f36
|
simplify slices
|
2022-09-03 13:24:21 +02:00 |
|
Folkert de Vries
|
7e31f67910
|
Merge pull request #3919 from roc-lang/surgical-no-break-caching
surgical linker: don't generate dynhost if it's unchanged
|
2022-08-31 09:04:13 +02:00 |
|
Folkert
|
ab2163b800
|
sort symbols
|
2022-08-30 15:00:58 +02:00 |
|
Folkert
|
3e78395237
|
changes after review
|
2022-08-30 12:32:19 +02:00 |
|
Brendan Hansknecht
|
ed7f066d33
|
Merge pull request #3916 from roc-lang/surgical-text-surgeries
surgical linker: extract finding surgeries in text
|
2022-08-30 03:00:26 +00:00 |
|
Folkert
|
d9db0b7096
|
fix shared object file extension
|
2022-08-30 00:15:48 +02:00 |
|
Folkert
|
835d3b9eb0
|
move stuff into files
|
2022-08-30 00:10:44 +02:00 |
|
Folkert
|
62a818883a
|
generate a minimal, fake .dll with the host-exposed symbols
|
2022-08-29 23:58:05 +02:00 |
|
Brendan Hansknecht
|
3895abd540
|
Merge pull request #3915 from roc-lang/surgical-use-struct-syntax
surgical linker: use struct initialization syntax
|
2022-08-29 03:00:34 +00:00 |
|
Folkert
|
d433448d6f
|
don't regenerate the dynhost file if it is unchanged
|
2022-08-28 13:17:50 +02:00 |
|
Richard Feldman
|
3ca9202e3b
|
Merge pull request #3834 from roc-lang/rust-1.63-clippy
rust 1.63 clippy
|
2022-08-27 21:15:36 -04:00 |
|
Folkert
|
0ca79c7a60
|
add some comments
|
2022-08-28 00:12:48 +02:00 |
|
Folkert
|
764b9f656e
|
simplify pattern
|
2022-08-28 00:08:07 +02:00 |
|
Folkert
|
2bc809503a
|
extract looking at the text sections
|
2022-08-28 00:07:29 +02:00 |
|
Folkert
|
e009f7888e
|
prettify
|
2022-08-27 23:30:00 +02:00 |
|