Pin
Public Member Functions | List of all members
MESSAGE_TYPE_ALWAYS_ON Class Reference

Public Member Functions

 MESSAGE_TYPE_ALWAYS_ON (std::string name, std::string prefix, BOOL terminate, BOOL trace, BOOL resource, LOGTYPE log, std::string comment)
 
BOOL on () const
 
- Public Member Functions inherited from MESSAGE_TYPE
STATIC VOID RegisterPanicCallBack (VOID(*cb)())
 
STATIC VOID RegisterTerminateCallBack (VOID(*cb)())
 
STATIC VOID RegisterLogFile (const std::string &name, BOOL append)
 
STATIC std::string GetLogFileName ()
 
STATIC MESSAGE_TYPEFind (const std::string &name)
 
STATIC BOOL Disable (const std::string &name)
 
STATIC BOOL Enable (const std::string &name)
 
STATIC UINT32 Number ()
 
STATIC std::string StringLongAll ()
 
STATIC BOOL IsTerminating ()
 
STATIC NORETURN VOID PrintMessageAndExit (const char *message, const char *message2, PIN_ERRTYPE errType=PIN_ERR_NONE, INT32 numArgs=0,...)
 
STATIC VOID RegisterMessageCallBack (MESSAGE_CALLBACK fun)
 
STATIC VOID UnregisterMessageCallBack ()
 
STATIC MESSAGE_CALLBACK MessageCallBack ()
 
STATIC BOOL ErrorFileSpecified ()
 
 MESSAGE_TYPE (std::string name, std::string prefix, BOOL terminate, BOOL trace, BOOL enabled, BOOL resource, LOGTYPE log, std::string comment)
 
VOID Message (const std::string &message, BOOL printPrefix=TRUE, PIN_ERRTYPE errType=PIN_ERR_NONE, INT32 numArgs=0,...)
 
VOID NORETURN MessageNoReturn (const std::string &message, BOOL printPrefix=TRUE, PIN_ERRTYPE errType=PIN_ERR_NONE, INT32 numArgs=0,...)
 
BOOL on () const
 
VOID disable ()
 
VOID enable ()
 
int Compare (const MESSAGE_TYPE &k2) const
 

Detailed Description

This type of message cannot be turned off. It is used for PIN's assertion mechanism to signal to the compiler that once MessageNoReturn() is called, then the application exits

See also
MESSAGE_TYPE

The documentation for this class was generated from the following file: