ROSE 0.11.145.147
Public Types | Public Member Functions | List of all members
Rose::BinaryAnalysis::DataFlow::DefaultVertexUnpacker Class Reference

Description

Functor to return instructions for a cfg vertex.

This is the default unpacker that understands how to unpack SgAsmInstruction and SgAsmBlock. If a CFG has other types of vertices then the user will need to pass a different unpacker. The unpacker function operates on one CFG vertex value which it takes as an argument. It should return a vector of instructions in the order they would be executed.

Definition at line 154 of file DataFlow.h.

#include <Rose/BinaryAnalysis/DataFlow.h>

Public Types

typedef std::vector< SgAsmInstruction * > Instructions
 

Public Member Functions

Instructions operator() (SgAsmInstruction *insn)
 
Instructions operator() (SgAsmBlock *blk)
 

Member Typedef Documentation

◆ Instructions

typedef std::vector<SgAsmInstruction*> Rose::BinaryAnalysis::DataFlow::DefaultVertexUnpacker::Instructions

Definition at line 156 of file DataFlow.h.

Member Function Documentation

◆ operator()()

Instructions Rose::BinaryAnalysis::DataFlow::DefaultVertexUnpacker::operator() ( SgAsmInstruction insn)
inline

Definition at line 157 of file DataFlow.h.


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