util.h File Reference

#include <sstream>
#include <string>

Go to the source code of this file.

Defines

#define STR(x)   (char *)(x.str().c_str())

Functions

char * escapeStr (char *str)
void escapeXMLChars (std::string &s)
int lockFileRead (const char *fname)
int lockFileWrite (const char *fname)
std::string operator+ (const std::string &s, int i)
void unlockFile (int n)
void upperStr (const char *s, char *d)


Define Documentation

#define STR  )     (char *)(x.str().c_str())
 

Definition at line 19 of file util.h.

Referenced by PentiumDecoder::decodeInstruction().


Function Documentation

char* escapeStr char *  str  ) 
 

void escapeXMLChars std::string &  s  ) 
 

Referenced by UserProc::printAnalysedXML(), UserProc::printDecodedXML(), and UserProc::printSSAXML().

int lockFileRead const char *  fname  ) 
 

int lockFileWrite const char *  fname  ) 
 

Referenced by Prog::printCallGraph(), Prog::printCallGraphXML(), and Prog::printSymbolsToFile().

std::string operator+ const std::string &  s,
int  i
 

void unlockFile int  n  ) 
 

void upperStr const char *  s,
char *  d
 

Referenced by RTLInstDict::appendToDict(), and RTLInstDict::getSignature().


Generated on Tue Sep 19 21:18:38 2006 for Boomerang by  doxygen 1.4.6