In postin
http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=microsoft.public.development.device.drivers&mid=74822b53-9342-4101-bbb8-b0daf2afc25b&sloc=en-us
I learned that __try/__except and such can only catch a subset of all
exceptions that may occur in a kernel driver. Unless we write perfect code,
this will eventually come back and bite us.
Is it at all possible - probably not advisable though - to override the
kernel exception handler? I'd write some exception information to the disk,
then reboot.
Unless there is a supported way of replacing the default exception handler,
would I gain anything by replacing KeBugCheck or KeTrap in memory, by a
call/jump to my own exception handler?
I realize this may seem far-fetched...
Any input appreciated,
/ Hannes.