"GDB" tag
Let us log

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…

Hmm... time to debug

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…

This is how we get in...

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…

Debug that!

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…

Time to debug

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….

Kernel development and debugging using Eclipse

Kernel Development & Debugging Using the Eclipse IDE

This article is targeted at Linux newbies, kernel developers, and those who are new to Eclipse. It deals with development, building and debugging of the Linux kernel using the Eclipse IDE. Eclipse is…

Crash your system

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…

Oops!

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…

Linux on Linux without Privileged Access

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…

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.