1#ifndef ROSE_BinaryAnalysis_Disassembler_Null_H
2#define ROSE_BinaryAnalysis_Disassembler_Null_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Disassembler/Base.h>
7#include <Rose/BinaryAnalysis/Architecture/BasicTypes.h>
9#include <boost/serialization/access.hpp>
10#include <boost/serialization/base_object.hpp>
13namespace BinaryAnalysis {
14namespace Disassembler {
25#ifdef ROSE_HAVE_BOOST_SERIALIZATION_LIB
27 friend class boost::serialization::access;
30 void serialize(S &s,
const unsigned ) {
31 s & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
Virtual base class for instruction disassemblers.
Exception thrown by the disassemblers.
Disassembler for nothing.
virtual SgAsmInstruction * makeUnknownInstruction(const Exception &) override
Makes an unknown instruction from an exception.
virtual Base::Ptr clone() const override
Creates a new copy of a disassembler.
static Ptr instance(const Architecture::BaseConstPtr &)
Allocating constructor.
virtual SgAsmInstruction * disassembleOne(const MemoryMap::Ptr &, rose_addr_t va, AddressSet *successors=NULL) override
This is the lowest level disassembly function and is implemented in the architecture-specific subclas...
Reference-counting intrusive smart pointer.
Base class for machine instructions.
std::shared_ptr< const Base > BaseConstPtr
Reference counted pointer for Architecture::Base.