Re: memory range R/W triggered breakpoints in kernel ?



On Ne 05-03-06 18:32:02, Benjamin LaHaise wrote:
On Mon, Mar 06, 2006 at 12:31:29AM +0100, Mateusz Berezecki wrote:
Yes but again this is userspace. I was thinking about solution used
back in the old days in SoftICE kernel level debugger.
It had a BPR command (breakpoint on range) which could monitor
up to 400000 bytes of memory range. Unfortunately for me this command
works in very old versions of _that_ other OS.

If it is in userspace, then you don't need anything from the kernel.
mprotect() and catch the resulting SIGSEGV.

SoftICE worked on kernel, too. Not sure how it was hacked up.

Pavel
--
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: memory range R/W triggered breakpoints in kernel ?
    ... back in the old days in SoftICE kernel level debugger. ... It had a BPR command which could monitor ... up to 400000 bytes of memory range. ...
    (Linux-Kernel)
  • Re: ISDN4BSD broken...
    ... messages of the last working 5.2-CURRENT kernel, ... memory range 0xe0000000-0xe0ffffff ... The IRQ 10 *is* marked in the BIOS for exclusive use for ISA and the ... Matthias Schuendehuette, ...
    (freebsd-current)
  • Re: Virtual Cached and Uncached memory issue
    ... the kernel creates the cached and ... My oemaddress table has the memory range for the global variables and ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 3Com 3c905 failed to attach
    ... Perhaps the memory range isn't specified as contiguous resources. ... Output from devinfo -r after booting your kernel with xl0 would help. ...
    (freebsd-current)