ROSE 0.11.145.147
Motorola68040.h
1#ifndef ROSE_BinaryAnalysis_Architecture_Motorola68040_H
2#define ROSE_BinaryAnalysis_Architecture_Motorola68040_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Architecture/Motorola.h>
6
7namespace Rose {
8namespace BinaryAnalysis {
9namespace Architecture {
10
28class Motorola68040: public Motorola {
29public:
30 using Ptr = Motorola68040Ptr;
31
32protected:
33 explicit Motorola68040(); // use `instance` instead
34public:
36
37public:
39 static Ptr instance();
40
41public:
43 bool matchesHeader(SgAsmGenericHeader*) const override;
45};
46
47} // namespace
48} // namespace
49} // namespace
50
51#endif
52#endif
Architecture-specific information for Motorola 68040'.
Disassembler::BasePtr newInstructionDecoder() const override
Construct and return a new instruction decoder.
bool matchesHeader(SgAsmGenericHeader *) const override
Tests whether this architecture matches a file header.
RegisterDictionary::Ptr registerDictionary() const override
Property: Register dictionary.
static Ptr instance()
Allocating constructor.
Base class for Motorola processors.
Definition Motorola.h:12
Base class for container file headers.
std::shared_ptr< Motorola68040 > Motorola68040Ptr
Reference counted pointer for Motorola68040.
The ROSE library.
const char * Architecture(int64_t)
Convert Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture enum constant to a string.