The latter is the more interesting test — it writes a 0xcc byte (the x86-64 software breakpoint instruction) which will cause the kernel to deliver a SIGTRAP to our process if executed. This is literally changing the executable code of libc. So the next time we call getchar, if we get a SIGTRAP, we know that the write has succeeded.
The jobs that are ‘a scary place to be right now’
。业内人士推荐safew作为进阶阅读
Лига чемпионов|1/8 финала. 1-й матч
На Западе рассказали о непоправимом ущербе от операции в Иране02:09
[-]Nina Panickssery1mo80Great article, thanks for writing about this