38#ifndef __CPU_CAPSTONE_HH__
39#define __CPU_CAPSTONE_HH__
41#include <capstone/capstone.h>
43#include "params/CapstoneDisassembler.hh"
Capstone Disassembler: The disassembler relies on the capstone library to convert the StaticInst enco...
std::string disassemble(StaticInstPtr inst, const PCStateBase &pc, const loader::SymbolTable *symtab) const override
CapstoneDisassembler(const Params &p)
PARAMS(CapstoneDisassembler)
virtual const csh * currHandle(const PCStateBase &pc) const =0
Return a pointer to the current capstone handle (csh).
The base InstDisassembler class provides a one-API interface to disassemble the instruction passed as...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.