ROSE 0.11.145.147
Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::AsmUnparser::StaticDataRawBytes Class Reference

Description

Functor to emit the bytes of the data block.

Definition at line 553 of file AsmUnparser.h.

#include <backend/asmUnparser/AsmUnparser.h>

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

Public Member Functions

virtual bool operator() (bool enabled, const StaticDataArgs &args)
 Default callbacks.
 
- Public Member Functions inherited from Rose::BinaryAnalysis::AsmUnparser::UnparserCallback
virtual bool operator() (bool, const InsnArgs &)
 Default callbacks.
 
virtual bool operator() (bool, const BasicBlockArgs &)
 Default callbacks.
 
virtual bool operator() (bool, const DataBlockArgs &)
 Default callbacks.
 
virtual bool operator() (bool, const FunctionArgs &)
 Default callbacks.
 
virtual bool operator() (bool, const InterpretationArgs &)
 Default callbacks.
 

Public Attributes

bool show_address
 
bool show_offset
 
Rose::BinaryAnalysis::HexdumpFormat fmt
 

Constructor & Destructor Documentation

◆ StaticDataRawBytes()

Rose::BinaryAnalysis::AsmUnparser::StaticDataRawBytes::StaticDataRawBytes ( )
inline

Definition at line 559 of file AsmUnparser.h.

Member Function Documentation

◆ operator()()

virtual bool Rose::BinaryAnalysis::AsmUnparser::StaticDataRawBytes::operator() ( bool  ,
const StaticDataArgs  
)
virtual

Default callbacks.

The default is to abort, because if these are called it means one of three things:

  1. The arguments are wrong in the subclass and the subclass therefore isn't providing an implementation when it thinks it is.
  2. The wrong type was used for the second argument. Instruction callbacks use InsnArgs, basic block callbacks use BasicBlockArgs, etc.
  3. The functor was added to the wrong callback list. For instance, an instruction functor was accidently added to one of the function callback lists.

Reimplemented from Rose::BinaryAnalysis::AsmUnparser::UnparserCallback.

Member Data Documentation

◆ show_address

bool Rose::BinaryAnalysis::AsmUnparser::StaticDataRawBytes::show_address

Definition at line 555 of file AsmUnparser.h.

◆ show_offset

bool Rose::BinaryAnalysis::AsmUnparser::StaticDataRawBytes::show_offset

Definition at line 556 of file AsmUnparser.h.

◆ fmt

Rose::BinaryAnalysis::HexdumpFormat Rose::BinaryAnalysis::AsmUnparser::StaticDataRawBytes::fmt

Definition at line 558 of file AsmUnparser.h.


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