You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Insert die("labelfoo") where you want the kernel to stop. Once the kernel prints out labelfoo, connect gdb as shown here. Inside die() the CPU is spinning on the variable staydead. From gdb, set staydead=0 to enable Harvey to continue.
Print syscalls
To print info for every syscall enter and exit, go to syscall.c, set the variable printallsyscalls to 1 and recompile the kernel.