wtxKludges.h File Reference

#include "common/h/Types.h"
#include "dynutil/h/dyntypes.h"
#include "wtx.h"

Go to the source code of this file.

Defines

#define _wtx_kludges_h
#define HOST
#define NOMINMAX

Enumerations

enum  wtx_state_t { WTX_UNKNOWN, WTX_INITIALIZED, WTX_CONNECTED, WTX_INVALID }

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)
bool relocationTarget (const Address addr, Address *target)
void printEventpoints (void)
void printModuleInfo (WTX_MODULE_INFO *info)

Variables

HWTX wtxh
wtx_state_t wtx_state
std::vector< WTX_MODULE_INFO * > wtxDynLoadedMods
dyn_hash_map< std::string,
WTX_MODULE_INFO * > 
wtxMods

Define Documentation

#define _wtx_kludges_h

Definition at line 33 of file wtxKludges.h.

#define HOST

Definition at line 39 of file wtxKludges.h.

#define NOMINMAX

Definition at line 42 of file wtxKludges.h.


Enumeration Type Documentation

Enumerator:
WTX_UNKNOWN 
WTX_INITIALIZED 
WTX_CONNECTED 
WTX_INVALID 

Definition at line 46 of file wtxKludges.h.


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.

bool relocationTarget ( const Address  addr,
Address target 
)
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

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
dyn_hash_map<std::string, WTX_MODULE_INFO *> wtxMods

Definition at line 40 of file wtxKludges.C.

Referenced by wtxLoadObject().

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

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1