Skip to contentSkip to conversation

Init data debugging

DISCUSSION Peter Horton 2 participants 2 messages Apr 5, 2002 – Apr 6, 2002

lore
Share & tools
lore
#0 lore raw

Would it be feasible to add a kernel debugging option which rather than discarding init data/code sections just marked the pages as not accessible, so illegal accesses could be caught ?

P.

#1 lore raw
Quoted 3 lines

Would it be feasible to add a kernel debugging option which rather than discarding init data/code sections just marked the pages as not accessible, so illegal accesses could be caught ?

Not efficiently. You can memset the pages to an illegal instruction which does seem to help