1 #ifndef ROSE_BinaryAnalysis_Unparser_Cil_H
2 #define ROSE_BinaryAnalysis_Unparser_Cil_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 {
20 class Cil:
public Base {
25 : settings_(settings) {}
29 return Ptr(
new Cil(settings));
32 Ptr copy()
const override {
33 return instance(settings());
36 const CilSettings& settings()
const override {
return settings_; }
37 CilSettings& settings()
override {
return settings_; }
40 void emitInstruction(std::ostream&,
SgAsmInstruction*, State&)
const override;
41 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.
Base class for expressions.
Settings specific to the Cil unaprser.