ALARM_ADDRESS_COUNT
[ALARM]


Classes

class  INSTLIB::ALARM_ADDRESS_COUNT

Functions

ADDRINT INSTLIB::ALARM_ADDRESS_COUNT::Address () const
ADDRINT INSTLIB::ALARM_ADDRESS_COUNT::Count (UINT32 tid=0) const
VOID INSTLIB::ALARM_ADDRESS_COUNT::SetAlarm (UINT64 count, ALARM_HANDLER handler, VOID *val, UINT32 tid=0, BOOL rearm=FALSE, BOOL always_armed=FALSE)
VOID INSTLIB::ALARM_ADDRESS_COUNT::Activate (ADDRINT address)

Detailed Description

Signal an alarm when the specified address has been executed n times

Function Documentation

VOID INSTLIB::ALARM_ADDRESS_COUNT::Activate ADDRINT  address  )  [inline, inherited]
 

This function initializes an alarm and must be called before PIN_StartProgram. It does turn the alarm on. Use SetAlarm.

Parameters:
address Address for alarm

ADDRINT INSTLIB::ALARM_ADDRESS_COUNT::Address  )  const [inline, inherited]
 

Returns:
Code address for alarm

ADDRINT INSTLIB::ALARM_ADDRESS_COUNT::Count UINT32  tid = 0  )  const [inline, inherited]
 

Returns:
Remaining count for this alarm

VOID INSTLIB::ALARM_ADDRESS_COUNT::SetAlarm UINT64  count,
ALARM_HANDLER  handler,
VOID *  val,
UINT32  tid = 0,
BOOL  rearm = FALSE,
BOOL  always_armed = FALSE
[inline, inherited]
 

Turn on an alarm. You should call Activate for this alarm before PIN_StartProgram

Parameters:
count Number of times to execution address before alarm fires
handler Call this function when alarm fires
val Pass this value to the handler when the alarm fires


Generated on Tue Jan 16 00:09:08 2007 for Pin by  doxygen 1.4.6