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

Description

Functor to update unparser's is_noop array.

Definition at line 474 of file AsmUnparser.h.

#include <AsmUnparser.h>

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

Public Member Functions

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

Public Attributes

bool debug
 If set, then emit information about the no-op subsequences. More...
 

Member Function Documentation

virtual bool Rose::BinaryAnalysis::AsmUnparser::BasicBlockNoopUpdater::operator() ( bool  ,
const BasicBlockArgs  
)
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

bool Rose::BinaryAnalysis::AsmUnparser::BasicBlockNoopUpdater::debug

If set, then emit information about the no-op subsequences.

Definition at line 476 of file AsmUnparser.h.


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