ROSE 0.11.145.147
NxpColdfire.h
1#ifndef ROSE_BinaryAnalysis_Architecture_NxpColdfire_H
2#define ROSE_BinaryAnalysis_Architecture_NxpColdfire_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
16class NxpColdfire: public Motorola {
17public:
18 using Ptr = NxpColdfirePtr;
19
20protected:
21 explicit NxpColdfire(); // use `instance` instead
22public:
24
25public:
27 static Ptr instance();
28
29public:
31 bool matchesHeader(SgAsmGenericHeader*) const override;
33};
34
35} // namespace
36} // namespace
37} // namespace
38
39#endif
40#endif
Base class for Motorola processors.
Definition Motorola.h:12
Architecture-specific information for NXP ColdFire'.
Definition NxpColdfire.h:16
bool matchesHeader(SgAsmGenericHeader *) const override
Tests whether this architecture matches a file header.
RegisterDictionary::Ptr registerDictionary() const override
Property: Register dictionary.
Disassembler::BasePtr newInstructionDecoder() const override
Construct and return a new instruction decoder.
static Ptr instance()
Allocating constructor.
Base class for container file headers.
std::shared_ptr< NxpColdfire > NxpColdfirePtr
Reference counted pointer for NxpColdfire.
The ROSE library.
const char * Architecture(int64_t)
Convert Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture enum constant to a string.