ROSE 0.11.145.192
Unparser/M68k.h
1#ifndef ROSE_BinaryAnalysis_Unparser_M68k_H
2#define ROSE_BinaryAnalysis_Unparser_M68k_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Unparser/Base.h>
6
7#include <Rose/BinaryAnalysis/Architecture/Base.h>
8
9namespace Rose {
10namespace BinaryAnalysis {
11namespace Unparser {
12
14struct M68kSettings: public Settings {};
15
17class M68k: public Base {
18 M68kSettings settings_;
19
20protected:
21 explicit M68k(const Architecture::BaseConstPtr&, const M68kSettings&);
22
23public:
24 ~M68k();
25
26public:
27 static Ptr instance(const Architecture::BaseConstPtr&, const M68kSettings& = M68kSettings());
28
29 Ptr copy() const override;
30
31 const M68kSettings& settings() const override { return settings_; }
32 M68kSettings& settings() override { return settings_; }
33};
34
35} // namespace
36} // namespace
37} // namespace
38
39#endif
40#endif
Abstract base class for unparsers.
Unparser for Motorola M68k and related instruction sets.
const M68kSettings & settings() const override
Property: Settings associated with this unparser.
M68kSettings & settings() 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 M68k unparser.
Settings that control unparsing.