[fpc-pascal] Validate heap/stack addresses
bruce.bauman at andesaservices.com
Tue Dec 1 17:58:10 CET 2009
I'm trying to port/debug some ugly Pascal code.
Is there a way I can tell if an arbitrary address is within the heap or
I want to do something like:
to catch potential errors in the code.
I'm guessing any address between "end" and the current brk is a valid
CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is addressed. If
you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited. If you received this e-mail
in error, please delete it from your computer and contact the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal