1 #ifndef ROSE_BinaryAnalysis_Unparser_Powerpc_H
2 #define ROSE_BinaryAnalysis_Unparser_Powerpc_H
3 #include <featureTests.h>
4 #ifdef ROSE_ENABLE_BINARY_ANALYSIS
5 #include <Rose/BinaryAnalysis/Unparser/Base.h>
7 #include <Rose/BinaryAnalysis/BasicTypes.h>
10 namespace BinaryAnalysis {
23 : settings_(settings) {}
27 return Ptr(
new Powerpc(settings));
30 Ptr copy()
const override {
31 return instance(settings());
38 void emitInstruction(std::ostream&,
SgAsmInstruction*, State&)
const override;
39 void emitOperandBody(std::ostream&,
SgAsmExpression*, State&)
const override;
Base class for machine instructions.
Sawyer::SharedPointer< RegisterDictionary > RegisterDictionaryPtr
Reference counting pointer.
Main namespace for the ROSE library.
Settings that control unparsing.
Represents one PowerPC machine instruction.
Base class for expressions.