1#ifndef ROSE_BinaryAnalysis_Architecture_Jvm_H
2#define ROSE_BinaryAnalysis_Architecture_Jvm_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <Rose/BinaryAnalysis/Architecture/Base.h>
8namespace BinaryAnalysis {
45 bool isFunctionCallFast(
const std::vector<SgAsmInstruction*>&, rose_addr_t *target, rose_addr_t *ret)
const override;
Information about alignments.
Base class for architecture definitions.
Architecture-specific information for the Java virtual machine.
bool isFunctionCallFast(const std::vector< SgAsmInstruction * > &, rose_addr_t *target, rose_addr_t *ret) const override
Returns true if the specified basic block looks like a function call.
bool matchesHeader(SgAsmGenericHeader *) const override
Tests whether this architecture matches a file header.
Alignment instructionAlignment() const override
Alignment for encoded machine instructions.
AddressSet getSuccessors(SgAsmInstruction *, bool &complete) const override
Control flow successors for a single instruction.
Sawyer::Container::Interval< size_t > bytesPerInstruction() const override
Valid sizes for encoded machine instructions.
static Ptr instance()
Allocating constructor.
std::string instructionDescription(const SgAsmInstruction *) const override
Description for an instruction.
RegisterDictionary::Ptr registerDictionary() const override
Property: Register dictionary.
bool isFunctionReturnFast(const std::vector< SgAsmInstruction * > &) const override
Returns true if the specified basic block looks like a function return.
bool terminatesBasicBlock(SgAsmInstruction *) const override
Determines whether the specified instruction normally terminates a basic block.
Disassembler::BasePtr newInstructionDecoder() const override
Construct and return a new instruction decoder.
bool isUnknown(const SgAsmInstruction *) const override
Returns true if the instruction is the special "unknown" instruction.
Unparser::BasePtr newUnparser() const override
Construct and return a new instruction unparser.
Sawyer::Optional< rose_addr_t > branchTarget(SgAsmInstruction *) const override
Obtains the virtual address for a branching instruction.
std::string instructionMnemonic(const SgAsmInstruction *) const override
Mnemonic for an instruction.
Range of values delimited by endpoints.
Holds a value or nothing.
Base class for machine instructions.
std::shared_ptr< Jvm > JvmPtr
Reference counted pointer for Jvm.
const char * Architecture(int64_t)
Convert Rose::BinaryAnalysis::Disassembler::Mips::Decoder::Architecture enum constant to a string.