NULL pointer dereference....

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue Jan 18 03:03:30 EST 2011


Hi Murali...

On Mon, Jan 17, 2011 at 15:57, Murali N <nalajala.murali at gmail.com> wrote:
> In kernel is there any way that i can put a watch on the memory
> locations/variable updates? If it is possible please know me the
> procedure to do that.

The closest that I can think of are by using either kmemleak (it's in
kernel debugging section when you configure kernel before compiling
it) or putting it under emulator such as Qemu and hook gdb into it
(thus making it like user space app running inside usual debugger).

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list