flat assembler
Message board for the users of flat assembler.
Index
> Windows > Own GPF handler |
Author |
|
vid 17 Oct 2003, 08:35
how can i install my own GPF handler under Win(NT/XP). It should handle some of GPFs, and pass others to standard win GPF handler
|
|||
17 Oct 2003, 08:35 |
|
pelaillo 17 Oct 2003, 09:48
Jeremy Gordon has written an article that can be useful for you: http://www.jorgon.freeserve.co.uk/Except32.zip
|
|||
17 Oct 2003, 09:48 |
|
comrade 17 Oct 2003, 13:02
You can also use SetUnhandledExceptionFilter, but you cannot recover from it.
|
|||
17 Oct 2003, 13:02 |
|
vid 17 Oct 2003, 14:15
roticv: so THAT is value at fs:[0], which is always changed by VC compiled programs. I was wondering what it could be. Is FS segment documented?
And error handler is normal ring3 code with full access to API? |
|||
17 Oct 2003, 14:15 |
|
scientica 17 Oct 2003, 14:17
Here's an excerpt from Jeremy Gordon's article: http://win32assembly.online.fr/Exceptionhandling.html
Quote: Type 2 – the "per-thread" exception handler btw, I think that VC want's it's own error hadnler, possibly it uses exceptions for other purposes than trapping GPFs. _________________ ... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself. - Bradley Kuhn |
|||
17 Oct 2003, 14:17 |
|
roticv 17 Oct 2003, 17:14
Most compilers (include some variants of C) make extensive use of seh to recover from GPF.
I think the best documentation on seh is still by Jeremy Gordon. However stuffs on TIB (Thread information Block) is not well documentated as far as i know. |
|||
17 Oct 2003, 17:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.