Mat,
What I said is the tip-of-the-icebarg. There are at least three books, about
at least 5 to 10 articles all are highly praised once, and at least another
5 to 10 websites that chalked out more than one methods of doing this
business...
OP is thinking for debugging his own driver, but then that is also very
questionable ! I've been seeing couple requests every month(s) on this site,
the names also tells me that they are not new on this list, so I dont know
what will make them stop doing it. IT IS MORE LIKE ARGUMENT ON DRUGS ( BE
LIKE USA OR BE LIKE HOLLAND ).
Have you seen another person asking how to delay packets when the mechanism
is hooking NDIS
IF SOMEONE IS DESPERATE ENOUGH I DONT SEE WHAT IS GOING TO MAKE THEM STOP !
The hint are not going to get OP anywhere, it is an indication that it can
be done, but a bad practice ...
-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Mathieu Routhier
Sent: Monday, September 27, 2004 7:01 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Installing Exception Handler in a driver?
You just gave three times in a row suggestions you admit yourself being
un-recommendable.
...Please!
Mat
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Friday, September 24, 2004 11:40 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Installing Exception Handler in a driver?
And before getting any hail storm, and sorry for polluting this thread.
Actually IDT also gives a hand to int_3 and such ...
?
-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Prokash Sinha
Sent: Friday, September 24, 2004 7:54 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Installing Exception Handler in a driver?
Also there is possibly a central point KiDispatchException that does the
dispatching ...
?
I did not say anything, and you did not hear from me PERIOD ...
?
-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Prokash Sinha
Sent: Friday, September 24, 2004 7:41 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Installing Exception Handler in a driver?
Quite a few exception handlers are there in the kernel service table, one of
them is int_3 (breakpoint handler ). There are ways to hook to them, but
HIGHLY FORBIDDEN. No one recommends it ....
?
-pro
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of
xxxxx@conexant.com
Sent: Friday, September 24, 2004 5:40 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Installing Exception Handler in a driver?
Hi All,
Does anyone know if it is possible to create an exception handler routine in
a driver, and then hook it to an specific exception trap? For example, let's
say I generate a debug trap, like "_asm int 3" in my code. Normally, if a
debugger is attached this goes to the debugger exception handler. If a
debugger is NOT attached, it would crash the system with exception not
handled.
For debugging purposes, it may be useful to trap the debug exception back
into a routine my driver provides. Is this possible? Is there a DDK
routine/api I can call to supply a function address, and request it to be
hooked to a particular exception code?
Thanks,
James
******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole
use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message in error,
please advise the sender by reply email and delete the message. Thank you."
****************************************************************
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to xxxxx@lists.osr.com