ROSE 0.11.145.147
Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs Struct Reference

Description

Arguments passed to basic block unparsing callbacks.

Definition at line 300 of file AsmUnparser.h.

#include <backend/asmUnparser/AsmUnparser.h>

Inheritance diagram for Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs:
Collaboration graph
[legend]

Public Member Functions

 BasicBlockArgs (AsmUnparser *unparser, std::ostream &output, SgAsmBlock *block, const std::vector< SgAsmInstruction * > &insns)
 
SgAsmBlockget_node () const
 Return the node being unparsed.
 
- Public Member Functions inherited from Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::GeneralArgs
 GeneralArgs (AsmUnparser *unparser, std::ostream &output)
 

Public Attributes

SgAsmBlockblock
 The basic block being unparsed.
 
const std::vector< SgAsmInstruction * > & insns
 The instructions contained in this basic block.
 
- Public Attributes inherited from Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::GeneralArgs
AsmUnparserunparser
 The object doing the unparsing, from which this callback is invoked.
 
std::ostream & output
 Where output should be sent.
 

Constructor & Destructor Documentation

◆ BasicBlockArgs()

Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs::BasicBlockArgs ( AsmUnparser unparser,
std::ostream &  output,
SgAsmBlock block,
const std::vector< SgAsmInstruction * > &  insns 
)
inline

Definition at line 301 of file AsmUnparser.h.

Member Function Documentation

◆ get_node()

SgAsmBlock * Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs::get_node ( ) const
inline

Return the node being unparsed.

Definition at line 304 of file AsmUnparser.h.

Member Data Documentation

◆ block

SgAsmBlock* Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs::block

The basic block being unparsed.

Definition at line 305 of file AsmUnparser.h.

◆ insns

const std::vector<SgAsmInstruction*>& Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::BasicBlockArgs::insns

The instructions contained in this basic block.

Definition at line 306 of file AsmUnparser.h.


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