stack smashing

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-09-07 00:00:00 +00:00
parent 2e4b360512
commit a1cf89efba
3 changed files with 30 additions and 0 deletions

View File

@@ -13096,6 +13096,16 @@ The following sections are related to multithreading in userland:
** <<number-of-cores-in-qemu-user-mode>>
** <<number-of-cores-in-gem5-user-mode>>
=== C debugging
Let's group the hard-to-debug undefined-behaviour-like stuff found in C / C+ here and how to tackle those problems.
==== Stack smashing
https://stackoverflow.com/questions/1345670/stack-smashing-detected/51897264#51897264
link:userland/c/smash_stack.c[]
=== Userland content bibliography
* The Linux Programming Interface by Michael Kerrisk https://www.amazon.co.uk/Linux-Programming-Interface-System-Handbook/dp/1593272200 Lots of open source POSIX examples: https://github.com/cirosantilli/linux-programming-interface-kerrisk