ROSE 0.11.145.192
Unparser/Mips.h
1#ifndef ROSE_BinaryAnalysis_Unparser_Mips_H
2#define ROSE_BinaryAnalysis_Unparser_Mips_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Unparser/Base.h>
6
7namespace Rose {
8namespace BinaryAnalysis {
9namespace Unparser {
10
12struct MipsSettings: public Settings {};
13
15class Mips: public Base {
16 MipsSettings settings_;
17
18protected:
19 explicit Mips(const Architecture::BaseConstPtr&, const MipsSettings&);
20
21public:
22 ~Mips();
23
24public:
25 static Ptr instance(const Architecture::BaseConstPtr&, const MipsSettings& = MipsSettings());
26
27 Ptr copy() const override;
28
29 const MipsSettings& settings() const override { return settings_; }
30 MipsSettings& settings() override { return settings_; }
31};
32
33} // namespace
34} // namespace
35} // namespace
36
37#endif
38#endif
Abstract base class for unparsers.
Unparser for the MIPS instruction set.
MipsSettings & settings() override
Property: Settings associated with this unparser.
const MipsSettings & settings() const override
Property: Settings associated with this unparser.
std::shared_ptr< const Base > BaseConstPtr
Reference counted pointer for Architecture::Base.
The ROSE library.
Settings specific to the MIP unparser.
Settings that control unparsing.