Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't just "p exit(0)" do the same, just with gdb doing the heavy lifting?


not if the program is statically linked and stripped.


I'm sure there's a way to do syscalls like that from gdb as well




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: