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

Description

Arguments passed to instruction unparsing callbacks.

Definition at line 291 of file AsmUnparser.h.

#include <backend/asmUnparser/AsmUnparser.h>

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

Public Member Functions

 InsnArgs (AsmUnparser *unparser, std::ostream &output, SgAsmInstruction *insn, size_t position_in_block)
 
SgAsmInstructionget_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

SgAsmInstructioninsn
 The instruction being unparsed.
 
size_t position_in_block
 The index position of the instruction within the basic block, or -1 if unknown.
 
- 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

◆ InsnArgs()

Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::InsnArgs::InsnArgs ( AsmUnparser unparser,
std::ostream &  output,
SgAsmInstruction insn,
size_t  position_in_block 
)
inline

Definition at line 292 of file AsmUnparser.h.

Member Function Documentation

◆ get_node()

SgAsmInstruction * Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::InsnArgs::get_node ( ) const
inline

Return the node being unparsed.

Definition at line 294 of file AsmUnparser.h.

Member Data Documentation

◆ insn

SgAsmInstruction* Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::InsnArgs::insn

The instruction being unparsed.

Definition at line 295 of file AsmUnparser.h.

◆ position_in_block

size_t Rose::BinaryAnalysis::AsmUnparser::UnparserCallback::InsnArgs::position_in_block

The index position of the instruction within the basic block, or -1 if unknown.

Definition at line 296 of file AsmUnparser.h.


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