Tag: Debugging
Modify-function-return-value Hack! — Part 1
Sometimes it's helpful to think from a hacker's perspective. The information obtained can be used to write better code and a secure application. An...
Joy of Programming: How Debugging Can Result in Bugs!
We typically debug code to find and fix bugs. However, debugging itself can cause bugs. This is an interesting phenomenon that we cover in...
Kernel Debugging Using Kprobe and Jprobe
Debugging is like plumbing; it involves fixing difficult, hidden problems -- so, besides the vital experience, both debuggers and plumbers must have a specialised...
Joy of Programming: Bug Hunt
Every programmer knows that debugging is akin to a detective's work. In this column, we'll cover this "bug hunt" process with an example of...
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...
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...
Kernel Tracing with ftrace, Part 2
In my previous article, we had a working setup of ftrace, and explored options to enable and disable it. In this article, we will...
Android Application Development: CLI Tools
This article on Android application development introduces you to the command line utilities that come packaged with the Android SDK, all of which are...
Debugging the Linux Kernel with debugfs
debugfs is a simple memory-based filesystem, designed specifically to debug Linux kernel code, and not to be confused with the debugfs filesystem utility. Introduced...