wtxKludges.C File Reference

#include "common/h/Types.h"
#include "common/h/wtxKludges.h"
#include "common/h/pathName.h"
#include "symtabAPI/h/Symtab.h"
#include <elf.h>

Go to the source code of this file.

Functions

bool wtxDisconnect (void)
void setAgentMode (WTX_AGENT_MODE_TYPE)
bool wtxReadMem (const void *inTarget, u_int nbytes, void *inSelf)
bool wtxWriteMem (void *inTarget, u_int nbytes, const void *inSelf)
bool wtxFindSymbol (const char *name, WTX_SYMBOL_TYPE type, WTX_TGT_ID_T modId, Address &addr)
bool wtxFindFunction (const char *name, WTX_TGT_ID_T modId, Address &addr)
bool wtxFindVariable (const char *name, WTX_TGT_ID_T modId, Address &addr)
bool wtxSuspendTask (WTX_TGT_ID_T ctxID)
WTX_MODULE_INFO * wtxLoadObject (const std::string &objname)
void printEventpoints (void)
void printModuleInfo (WTX_MODULE_INFO *info)

Variables

HWTX wtxh = NULL
wtx_state_t wtx_state = WTX_UNKNOWN
std::vector< WTX_MODULE_INFO * > wtxDynLoadedMods
dyn_hash_map< std::string,
WTX_MODULE_INFO * > 
wtxMods
dyn_hash_map< Address,
Dyninst::SymtabAPI::relocationEntry
wtxReloc

Function Documentation

void printEventpoints ( void   ) 

Definition at line 260 of file wtxKludges.C.

References fprintf, and wtxh.

void printModuleInfo ( WTX_MODULE_INFO *  info  ) 

Definition at line 283 of file wtxKludges.C.

References fprintf.

void setAgentMode ( WTX_AGENT_MODE_TYPE   ) 

Definition at line 68 of file wtxKludges.C.

bool wtxDisconnect ( void   ) 

Definition at line 43 of file wtxKludges.C.

References fprintf, WTX_CONNECTED, WTX_INITIALIZED, wtx_state, WTX_UNKNOWN, and wtxh.

Referenced by wtxLoadObject().

bool wtxFindFunction ( const char *  name,
WTX_TGT_ID_T  modId,
Address addr 
)

Definition at line 169 of file wtxKludges.C.

References wtxFindSymbol().

bool wtxFindSymbol ( const char *  name,
WTX_SYMBOL_TYPE  type,
WTX_TGT_ID_T  modId,
Address addr 
)

Definition at line 132 of file wtxKludges.C.

References WTX_CONNECTED, wtx_state, and wtxh.

Referenced by wtxFindFunction(), and wtxFindVariable().

bool wtxFindVariable ( const char *  name,
WTX_TGT_ID_T  modId,
Address addr 
)

Definition at line 174 of file wtxKludges.C.

References wtxFindSymbol().

WTX_MODULE_INFO* wtxLoadObject ( const std::string &  objname  ) 

Definition at line 234 of file wtxKludges.C.

References fprintf, wtxDisconnect(), wtxDynLoadedMods, wtxh, and wtxMods.

bool wtxReadMem ( const void *  inTarget,
u_int  nbytes,
void *  inSelf 
)

Definition at line 80 of file wtxKludges.C.

References fprintf, WTX_CONNECTED, wtx_state, and wtxh.

bool wtxSuspendTask ( WTX_TGT_ID_T  ctxID  ) 

Definition at line 181 of file wtxKludges.C.

References fprintf, and wtxh.

bool wtxWriteMem ( void *  inTarget,
u_int  nbytes,
const void *  inSelf 
)

Definition at line 98 of file wtxKludges.C.

References fprintf, WTX_CONNECTED, wtx_state, and wtxh.


Variable Documentation

wtx_state_t wtx_state = WTX_UNKNOWN

Definition at line 38 of file wtxKludges.C.

Referenced by wtxDisconnect(), wtxFindSymbol(), wtxReadMem(), and wtxWriteMem().

std::vector<WTX_MODULE_INFO *> wtxDynLoadedMods

Definition at line 39 of file wtxKludges.C.

Referenced by wtxLoadObject().

HWTX wtxh = NULL
dyn_hash_map<std::string, WTX_MODULE_INFO *> wtxMods

Definition at line 40 of file wtxKludges.C.

Referenced by wtxLoadObject().

Definition at line 41 of file wtxKludges.C.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1