4 ms·
I feel like there should be a text that teaches assembly, not assumes it, but teaches it specifically with an eye toward shellcode and/or reversing. Every "lea
by dtornabene 6y ago
I feel like there should be a text that teaches assembly, not assumes it, but teaches it specifically with an eye toward shellcode and/or reversing. Every "learn assembly" text I've ever seen either teaches it in relation to C or architecture or simply by itself. Seems like a gap that could be filled by nostarch or someone willing to self publish
- im3w1l 6y agoWrite position independent code. This is much easier nowadays that you can use RIP relative addressing. To include data, just append it to your code or even put it inline with jmps to avoid executing it. To accomplish tasks use syscalls. If you want a library, load it dynamically with dlsym. Also take a look at https://en.wikipedia.org/wiki/Return-oriented_programming https://en.wikipedia.org/wiki/Return-oriented_programming