Kprobes is a mechanism used to register breakpoints and corresponding handlers. After enabling Kprobes support in the kernel, we can debug any instruction at any kernel address. This article explains ...
The Linux kernel debugger (KDB) allows you to debug the Linux kernel. This aptly named tool is essentially a patch to the kernel code that lets hackers access kernel memory and data structures. One of ...
On various occasions, I’ve received inquiries about how to install and start using WinDbg. For this reason, in this post, I’m going to show you how to configure an environment with WinDbg and virtual ...
It used to be that building the Linux kernel was not easy. Testing and debugging were even worse. Nowadays, it is reasonably easy to build a custom kernel and test or debug it using virtualization.
When you write programs in user space, the worst thing that can happen to your program is a core dump. Your program did something very wrong, so the operating system decided to give you all of its ...
Express Logic, renowned provider of advanced run-time solution for deeply embedded applications, recently added Kernel-Aware Debug Support for ARM DS-5 Development Tools in order to provide greater ...
As with many Linux-related topics, the issue of using debuggers to troubleshoot the Linux kernel is not only technical--it's political. Linux is being mostly developed on the x86 platform, which does ...
A built-in debugger for the kernel is one missing feature that some enterprise vendors have added. Will the mainstream kernel be able to agree on an approach to this surprisingly contentious issue?
Tools for debugging embedded systems range from software monitors and simulators, which are independent of the hardware under development, to custom silicon for in-circuit emulation, which replaces ...