Re: Validating a Function Address
- From: "Thorsten Albers" <albersRE@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Dec 2006 17:56:44 -0800
Karl E. Peterson <karl@xxxxxxxx> schrieb im Beitrag
<OWdwxxXHHHA.5000@xxxxxxxxxxxxxxxxxxxx>...
What on Earth are you doubting these values for? You're not calculating
them, or something, are you?
What, if the function to call resides in a DLL, and this DLL in the
meantime has been unloaded willingly or due to a crash? With every code
pointer one should at least check with IsBadCodePtr() if the memory at the
given address is executable. Of course, there are lots of other
possibilities for a GPF, but if we can exclude one, why not do it?
--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------
.
- Follow-Ups:
- Re: Validating a Function Address
- From: Michael C
- Re: Validating a Function Address
- References:
- Validating a Function Address
- From: Chip Pearson
- Re: Validating a Function Address
- From: Karl E. Peterson
- Validating a Function Address
- Prev by Date: Re: Validating a Function Address
- Next by Date: Re: Validating a Function Address
- Previous by thread: Re: Validating a Function Address
- Next by thread: Re: Validating a Function Address
- Index(es):
Relevant Pages
|
Loading