ROSE 0.11.145.147
IntelI386.h
1#ifndef ROSE_BinaryAnalysis_Architecture_IntelI386_H
2#define ROSE_BinaryAnalysis_Architecture_IntelI386_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Architecture/X86.h>
6
7namespace Rose {
8namespace BinaryAnalysis {
9namespace Architecture {
10
23class IntelI386: public X86 {
24public:
25 using Ptr = IntelI386Ptr;
26
27protected:
28 IntelI386(); // use `instance` instead
29public:
30 ~IntelI386();
31
32public:
34 static Ptr instance();
35
36public:
38 bool matchesHeader(SgAsmGenericHeader*) const override;
39};
40
41} // namespace
42} // namespace
43} // namespace
44
45#endif
46#endif
Architecture-specific information for Intel i386.
Definition IntelI386.h:23
static Ptr instance()
Allocating constructor.
bool matchesHeader(SgAsmGenericHeader *) const override
Tests whether this architecture matches a file header.
RegisterDictionary::Ptr registerDictionary() const override
Property: Register dictionary.
Common base class for all x86 architectures.
Base class for container file headers.
std::shared_ptr< IntelI386 > IntelI386Ptr
Reference counted pointer for IntelI386.
The ROSE library.
const char * Architecture(int64_t)
Convert Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture enum constant to a string.