Folkert
|
5b9e152248
|
use cached dynamic_relocations
|
2022-09-22 21:58:54 +02:00 |
|
Folkert
|
1ebcf25fc0
|
cleanup
|
2022-09-22 21:56:40 +02:00 |
|
Folkert
|
9bbe0e029f
|
refactor
|
2022-09-22 21:55:31 +02:00 |
|
Folkert
|
540d3c29f9
|
enable the windows surgical linker, for now
|
2022-09-22 21:53:48 +02:00 |
|
Folkert
|
1c95fd3761
|
a functional windows surgical linker
|
2022-09-22 21:28:27 +02:00 |
|
Folkert
|
466b5d78cb
|
linking of a very simple roc program
|
2022-09-22 00:32:36 +02:00 |
|
Folkert
|
e88b61734c
|
add .exe extension when target is windows
|
2022-09-21 18:11:59 +02:00 |
|
Folkert
|
05feeeb253
|
call host functions from the app
|
2022-09-21 17:42:08 +02:00 |
|
Folkert
|
7399dc8ae4
|
remove magic constant
|
2022-09-21 15:27:33 +02:00 |
|
Folkert
|
0cc75ae27c
|
Revert "some work on a .dll import section; immediately revert"
This reverts commit f151044afc .
|
2022-09-21 15:26:52 +02:00 |
|
Folkert
|
f151044afc
|
some work on a .dll import section; immediately revert
|
2022-09-21 15:26:44 +02:00 |
|
Folkert
|
fcc17f6b68
|
use the -rdynamic flag to have zig produce an export section for the host
|
2022-09-21 15:26:03 +02:00 |
|
Folkert
|
2d2fbfd987
|
add comment
|
2022-09-21 12:37:48 +02:00 |
|
Folkert
|
8f5b005f10
|
refactor section header writing
|
2022-09-21 12:32:43 +02:00 |
|
Folkert
|
20cd50f712
|
add windows test
|
2022-09-20 23:56:52 +02:00 |
|
Folkert
|
841a553839
|
cleanup
|
2022-09-20 23:56:19 +02:00 |
|
Folkert
|
a3fc426752
|
support multiple symbols (from the same section)
|
2022-09-20 23:51:03 +02:00 |
|
Folkert
|
42f725bb51
|
support multiple text and rdata sections
|
2022-09-20 21:00:31 +02:00 |
|
Folkert
|
ec0ac1cf55
|
use an exported constant in the host
|
2022-09-20 20:11:44 +02:00 |
|
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 |
|