3 ms·
The client certainly should have made sure their code was truly position independent. Also, the client should have embedded their code in the executable file n
by basementcat 5y ago
The client certainly should have made sure their code was truly position independent.
Also, the client should have embedded their code in the executable file name so they just have to jump to the appropriate offset in argv[0]. This way, future updates just require renaming the file!
- liftm 5y agoWhy use PIC if you can just write your own relocator? https://fasterthanli.me/series/making-our-own-executable-packer https://fasterthanli.me/series/making-our-own-executable-pac...
- MattPalmer1086 5y agoI imagine they were dynamically building the code to inject, or why bother with the complexity?