ROSE 0.11.145.192
Unparser/Powerpc.h
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>
6
7namespace Rose {
8namespace BinaryAnalysis {
9namespace Unparser {
10
12struct PowerpcSettings: public Settings {};
13
15class Powerpc: public Base {
16 PowerpcSettings settings_;
17
18protected:
19 explicit Powerpc(const Architecture::BaseConstPtr&, const PowerpcSettings&);
20
21public:
22 ~Powerpc();
23
24public:
25 static Ptr instance(const Architecture::BaseConstPtr&, const PowerpcSettings& = PowerpcSettings());
26
27 Ptr copy() const override;
28
29 const PowerpcSettings& settings() const override { return settings_; }
30 PowerpcSettings& settings() override { return settings_; }
31};
32
33} // namespace
34} // namespace
35} // namespace
36
37#endif
38#endif
Abstract base class for unparsers.
Unparser for PowerPC instruction sets.
PowerpcSettings & settings() override
Property: Settings associated with this unparser.
const PowerpcSettings & 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 PowerPC unparser.
Settings that control unparsing.