common/stack.h File Reference

Go to the source code of this file.

Functions

bool variable_is_on_stack (void *p)


Function Documentation

bool variable_is_on_stack ( void *  p  ) 

The variable_is_on_stack function is used to determine whether a variable is on the stack. This is usually used for debugging.

There are three broard categories of variables we have to worry about: stack, static and heap.

It is possible this function will return true for static variables, depending on your compiler and linker.


Generated on Wed Mar 12 23:37:36 2008 for Aegis by  doxygen 1.5.5