binary_analysis.h File Reference

#include "integerOps.h"
#include "x86InstructionSemantics.h"
#include "Partitioner.h"

Include dependency graph for binary_analysis.h:

Go to the source code of this file.

Functions

std::vector< SgGraphNode * > findGraphRoots (SgIncidenceDirectedGraph *graph)
void findTraceForSubtree (const SgIncidenceDirectedGraph *graph, SgGraphNode *cur_node, std::vector< SgAsmx86Instruction * > &curTrace, size_t max_length, std::set< std::vector< SgAsmx86Instruction * > > &returnSet)
std::set< std::vector< SgAsmx86Instruction * > > generateStaticTraces (SgIncidenceDirectedGraph *graph, size_t max_length)
void addBlocksFromFunctionToGraph (SgIncidenceDirectedGraph *graph, std::map< rose_addr_t, SgGraphNode * > &instToNodeMap, SgAsmFunction *funcDecl)
SgIncidenceDirectedGraphconstructCFG_BB (SgAsmStatement *blocks, const Partitioner::BasicBlockStarts &bb_starts, const Disassembler::InstructionMap &instMap)
SgIncidenceDirectedGraphconstructCFG (SgAsmInterpretation *interp)
SgIncidenceDirectedGraphconstructCFG (const Partitioner::FunctionStarts &func_starts, const Partitioner::BasicBlockStarts &bb_starts, const Disassembler::InstructionMap &instMap)
SgIncidenceDirectedGraphconstructCallGraph (SgAsmInterpretation *interp)
SgIncidenceDirectedGraphconstructCallGraph (const Partitioner::FunctionStarts &func_starts, const Partitioner::BasicBlockStarts &bb_starts, const Disassembler::InstructionMap &instMap)


Function Documentation

std::vector<SgGraphNode*> findGraphRoots ( SgIncidenceDirectedGraph graph  ) 

void findTraceForSubtree ( const SgIncidenceDirectedGraph graph,
SgGraphNode cur_node,
std::vector< SgAsmx86Instruction * > &  curTrace,
size_t  max_length,
std::set< std::vector< SgAsmx86Instruction * > > &  returnSet 
)

std::set< std::vector<SgAsmx86Instruction*> > generateStaticTraces ( SgIncidenceDirectedGraph graph,
size_t  max_length 
)

void addBlocksFromFunctionToGraph ( SgIncidenceDirectedGraph graph,
std::map< rose_addr_t, SgGraphNode * > &  instToNodeMap,
SgAsmFunction funcDecl 
)

SgIncidenceDirectedGraph* constructCFG_BB ( SgAsmStatement blocks,
const Partitioner::BasicBlockStarts bb_starts,
const Disassembler::InstructionMap instMap 
)

SgIncidenceDirectedGraph* constructCFG ( SgAsmInterpretation interp  ) 

SgIncidenceDirectedGraph* constructCFG ( const Partitioner::FunctionStarts func_starts,
const Partitioner::BasicBlockStarts bb_starts,
const Disassembler::InstructionMap instMap 
)

SgIncidenceDirectedGraph* constructCallGraph ( SgAsmInterpretation interp  ) 

SgIncidenceDirectedGraph* constructCallGraph ( const Partitioner::FunctionStarts func_starts,
const Partitioner::BasicBlockStarts bb_starts,
const Disassembler::InstructionMap instMap 
)


Generated on Tue Jan 31 05:31:52 2012 for ROSE by  doxygen 1.4.7