If wrap-x64-run-time used an intermediate representation that made code and data sections explicit (maybe even data vs BSS), imports too, and manipulated those instead of strings, it might be more clear what it's doing. It would also enable supporting Windows, which requires registering some imports from the kernel.
If wrap-x64-run-time used an intermediate representation that made code and data sections explicit (maybe even data vs BSS), imports too, and manipulated those instead of strings, it might be more clear what it's doing. It would also enable supporting Windows, which requires registering some imports from the kernel.
Boilerplate then .. really is just "stringify".