ROSE 0.11.145.192
Public Types | Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::InsnCFGVertexWriter< Graph > Struct Template Reference

Description

template<class Graph>
struct Rose::BinaryAnalysis::InsnCFGVertexWriter< Graph >

A vertex property writer for instruction-based CFGs.

This causes vertex names to be instructions rather than numbers, and it colors function entry and exit nodes to make them stand out better.

Definition at line 15 of file BinaryAnalysis/Utility.h.

#include <Rose/BinaryAnalysis/Utility.h>

Public Types

typedef boost::graph_traits< Graph >::vertex_descriptor Vertex
 

Public Member Functions

 InsnCFGVertexWriter (Graph &cfg)
 
void operator() (std::ostream &output, const Vertex &v) const
 

Public Attributes

const Graph & cfg
 

Member Typedef Documentation

◆ Vertex

template<class Graph >
typedef boost::graph_traits<Graph>::vertex_descriptor Rose::BinaryAnalysis::InsnCFGVertexWriter< Graph >::Vertex

Definition at line 18 of file BinaryAnalysis/Utility.h.

Constructor & Destructor Documentation

◆ InsnCFGVertexWriter()

template<class Graph >
Rose::BinaryAnalysis::InsnCFGVertexWriter< Graph >::InsnCFGVertexWriter ( Graph &  cfg)
inline

Definition at line 17 of file BinaryAnalysis/Utility.h.

Member Function Documentation

◆ operator()()

template<class Graph >
void Rose::BinaryAnalysis::InsnCFGVertexWriter< Graph >::operator() ( std::ostream &  output,
const Vertex v 
) const
inline

Definition at line 19 of file BinaryAnalysis/Utility.h.

Member Data Documentation

◆ cfg

template<class Graph >
const Graph& Rose::BinaryAnalysis::InsnCFGVertexWriter< Graph >::cfg

Definition at line 16 of file BinaryAnalysis/Utility.h.


The documentation for this struct was generated from the following file: