core/dynamo.c
/* Note this includes any stack guard pages */
Note this includes any stack guard pages
Note this includes any stack guard pages
bool
is_on_dstack(dcontext_t *dcontext, byte *esp)
{
    return (esp <= dcontext->dstack && 
            esp > dcontext->dstack - DYNAMORIO_STACK_SIZE);
}
bool is_on_dstack ( dcontext_t * dcontext , byte * esp ) { return ( esp <= dcontext -> dstack && esp > dcontext -> dstack - DYNAMORIO_STACK_SIZE ) ; }
Note this includes any stack guard pages
Note this includes any stack guard pages