GDB Logging Function Parameters, Part 2
In this second part on the topic, let us write a GDB script to log the parameters of a desired function, and also see how the application state can be modified by changing…
GDB: Logging Function Parameters, Part 1
Sometimes an application’s release version crashes in particular scenarios, but the debug version does not — and to make matters worse, the call-trace gets corrupted. It’s then very difficult to find the cause…
Modify-function-return-value hack! — Part 2
In my previous article on this topic, we discussed some guidelines on how to write a secure application in C. The article focused on functions defined in the application itself. Now, we will…
Device Drivers, Part 10: Kernel-Space Debuggers in Linux
This article, which is part of the series on Linux device drivers, talks about kernel-space debugging in Linux. Shweta, back from hospital, was relaxing in the library, reading various books. Ever since she…
KGDB with VirtualBox: Debug a Live Kernel
Debugging an application live has always been easy for application developers, but debugging a live kernel has never been a simple option for kernel developers — it involves multiple machines with serial connections….
CRASH Your System (and Debug Kernel Panic)
Aimed at Linux kernel developers and just about anybody who would like to debug a kernel panic with the Crash utility, this article assumes readers have an understanding of the basics of the…
Understanding a Kernel Oops!
Understanding a kernel panic and doing the forensics to trace the bug is considered a hacker’s job. This is a complex task that requires sound knowledge of both the architecture you are working…
Playing with User-mode Linux
This article gives you hands-on experience in setting up a User-Mode Linux (UML) kernel and getting it up on a running Linux OS. We see how to share files between the host Linux…





