« A very comprehensive guide of modern exploit development. Modern because it talks about all the existing security (Canaries, Non Executable Stack, ASLR, ...) and also because it targets not only x86_64 but also arm64 (for all the phones and modern Apples).
The book exists also as a paperback but comes for free as a PDF in this repo. It comes also with companion code and local lab setup. »