testing if data is allocated on the stack or heap

Biotronic simen.kjaras at gmail.com
Wed Oct 18 07:07:45 UTC 2017


It's worth pointing out, btw, that the main reason for this code 
is to help drug diagnose his or her problem, not to be the 
be-all, end-all of stack identifying functions. :)

It will of course not correctly identify pointers to variables on 
other threads' stacks, and fiber stacks probably trip it up bad.

--
   Biotronic


More information about the Digitalmars-d-learn mailing list