unparseAsm.C File Reference

#include "sage3basic.h"
#include "Disassembler.h"
#include "unparseAsm.h"
#include <inttypes.h>

Include dependency graph for unparseAsm.C:


Defines

#define __STDC_FORMAT_MACROS

Functions

std::string unparseInstruction (SgAsmInstruction *insn)
 Returns the string representation of an assembly instruction, sans address.
std::string unparseInstructionWithAddress (SgAsmInstruction *insn)
 Returns the string representation of an assembly instruction with address.
std::string unparseMnemonic (SgAsmInstruction *insn)
 Returns a string representing the part of the assembly instruction before the first operand.
std::string unparseExpression (SgAsmExpression *expr)
 Returns the string representation of an instruction operand (SgAsmExpression), the format of which might depend on the instruction with which it's associated.
std::string hexdump (rose_addr_t base_addr, const char *prefix, const SgUnsignedCharList &data, size_t maxLength)
std::string unparseAsmStatement (SgAsmStatement *stmt)
std::string unparseAsmInterpretation (SgAsmInterpretation *interp)
void unparseAsmStatementToFile (const std::string &filename, SgAsmStatement *stmt)

Define Documentation

#define __STDC_FORMAT_MACROS


Function Documentation

std::string unparseInstruction ( SgAsmInstruction insn  ) 

Returns the string representation of an assembly instruction, sans address.

std::string unparseInstructionWithAddress ( SgAsmInstruction insn  ) 

Returns the string representation of an assembly instruction with address.

std::string unparseMnemonic ( SgAsmInstruction insn  ) 

Returns a string representing the part of the assembly instruction before the first operand.

std::string unparseExpression ( SgAsmExpression expr  ) 

Returns the string representation of an instruction operand (SgAsmExpression), the format of which might depend on the instruction with which it's associated.

std::string hexdump ( rose_addr_t  base_addr,
const char *  prefix,
const SgUnsignedCharList data,
size_t  maxLength 
)

std::string unparseAsmStatement ( SgAsmStatement stmt  ) 

std::string unparseAsmInterpretation ( SgAsmInterpretation interp  ) 

void unparseAsmStatementToFile ( const std::string &  filename,
SgAsmStatement stmt 
)


Generated on Thu May 6 10:31:54 2010 for ROSE by  doxygen 1.4.7