ALARM_BASE
[ALARM]


Classes

class  INSTLIB::ALARM_BASE

Functions

static ADDRINT INSTLIB::ALARM_BASE::AdvanceCondition (ARMED_COUNT *alarm, THREADID tid)
static void INSTLIB::ALARM_BASE::CallHandler (ALARM_BASE *alarm, CONTEXT *ctxt, VOID *ip, THREADID tid)
static void INSTLIB::ALARM_BASE::InsertIfCallToAdvance (ALARM_BASE *alarm, INS ins)
static void INSTLIB::ALARM_BASE::InsertThenCallToHandler (ALARM_BASE *alarm, INS ins)

Detailed Description

Base class for many of the alarms. Holds a handler, a value, and a passContext flag.

Function Documentation

static ADDRINT INSTLIB::ALARM_BASE::AdvanceCondition ARMED_COUNT alarm,
THREADID  tid
[inline, static, protected, inherited]
 

Advance the counter

Returns:
True if the alarm fires and should call its handler.

static void INSTLIB::ALARM_BASE::CallHandler ALARM_BASE *  alarm,
CONTEXT ctxt,
VOID *  ip,
THREADID  tid
[inline, static, protected, inherited]
 

Static wrapper for calling the handler.

static void INSTLIB::ALARM_BASE::InsertIfCallToAdvance ALARM_BASE *  alarm,
INS  ins
[inline, static, protected, inherited]
 

Inserts an "If" call to the Advance, which will update the counter, and check if the handler should be called.

static void INSTLIB::ALARM_BASE::InsertThenCallToHandler ALARM_BASE *  alarm,
INS  ins
[inline, static, protected, inherited]
 

Inserts a "Then" call to the handler with or without the context.


Generated on Thu Apr 10 22:54:38 2014 for Pin by  doxygen 1.4.6