#include <AArch64Disassembler.h>
|
| | AArch64Disassembler (const MCSubtargetInfo &STI, MCContext &Ctx) |
| |
| | ~AArch64Disassembler () |
| |
| MCDisassembler::DecodeStatus | getInstruction (MCInst &Instr, uint64_t &Size, ArrayRef< uint8_t > Bytes, uint64_t Address, raw_ostream &VStream, raw_ostream &CStream) const override |
| | Returns the disassembly of a single instruction. More...
|
| |
| | MCDisassembler (const MCSubtargetInfo &STI, MCContext &Ctx) |
| |
| virtual | ~MCDisassembler () |
| |
| bool | tryAddingSymbolicOperand (MCInst &Inst, int64_t Value, uint64_t Address, bool IsBranch, uint64_t Offset, uint64_t InstSize) const |
| |
| void | tryAddingPcLoadReferenceComment (int64_t Value, uint64_t Address) const |
| |
| void | setSymbolizer (std::unique_ptr< MCSymbolizer > Symzer) |
| | Set Symzer as the current symbolizer. More...
|
| |
| MCContext & | getContext () const |
| |
| const MCSubtargetInfo & | getSubtargetInfo () const |
| |
Definition at line 24 of file AArch64Disassembler.h.
| llvm::AArch64Disassembler::~AArch64Disassembler |
( |
| ) |
|
|
inline |
Returns the disassembly of a single instruction.
- Parameters
-
| Instr | - An MCInst to populate with the contents of the instruction. |
| Size | - A value to populate with the size of the instruction, or the number of bytes consumed while attempting to decode an invalid instruction. |
| Address | - The address, in the memory space of region, of the first byte of the instruction. |
| VStream | - The stream to print warnings and diagnostic messages on. |
| CStream | - The stream to print comments and annotations on. |
- Returns
- - MCDisassembler::Success if the instruction is valid, MCDisassembler::SoftFail if the instruction was disassemblable but invalid, MCDisassembler::Fail if the instruction was invalid.
Implements llvm::MCDisassembler.
Definition at line 209 of file AArch64Disassembler.cpp.
References llvm::MCDisassembler::CommentStream, llvm::CS, llvm::X86Disassembler::decodeInstruction(), llvm::MCDisassembler::Fail, llvm::ArrayRef< T >::size(), and llvm::MCDisassembler::STI.
The documentation for this class was generated from the following files: