15#ifndef LIEF_ASM_AARCH64_OPERAND_MEMORY_H
16#define LIEF_ASM_AARCH64_OPERAND_MEMORY_H
38 using Operand::Operand;
This class represents a memory operand.
Definition aarch64/operands/Memory.hpp:36
~Memory() override=default
shift_info_t shift() const
Shift information.
static bool classof(const Operand *op)
REG base() const
The base register.
offset_t offset() const
The addressing offset.
SHIFT
Definition aarch64/operands/Memory.hpp:40
@ LSL
Definition aarch64/operands/Memory.hpp:42
@ SXTX
Definition aarch64/operands/Memory.hpp:45
@ UNKNOWN
Definition aarch64/operands/Memory.hpp:41
@ SXTW
Definition aarch64/operands/Memory.hpp:46
@ UXTX
Definition aarch64/operands/Memory.hpp:43
@ UXTW
Definition aarch64/operands/Memory.hpp:44
Namespace that wraps the different aarch64 operands.
Definition aarch64/operands/Immediate.hpp:23
AArch64 architecture-related namespace.
Definition aarch64/Instruction.hpp:27
REG
Definition aarch64/registers.hpp:25
Namespace related to assembly/disassembly support.
Definition Abstract/Binary.hpp:47
LIEF namespace.
Definition Abstract/Binary.hpp:40
Wraps a memory offset as an integer offset or as a register offset.
Definition aarch64/operands/Memory.hpp:57
REG reg
Register offset.
Definition aarch64/operands/Memory.hpp:69
TYPE
Enum type used to discriminate the anonymous union.
Definition aarch64/operands/Memory.hpp:59
@ DISP
The union holds the displacement attribute (int64_t).
Definition aarch64/operands/Memory.hpp:64
@ NONE
Definition aarch64/operands/Memory.hpp:60
@ REG
The union holds the REG attribute.
Definition aarch64/operands/Memory.hpp:62
TYPE type
Definition aarch64/operands/Memory.hpp:74
int64_t displacement
Integer offset.
Definition aarch64/operands/Memory.hpp:72
This structure holds shift info (type + value).
Definition aarch64/operands/Memory.hpp:50
int8_t value
Definition aarch64/operands/Memory.hpp:52
SHIFT type
Definition aarch64/operands/Memory.hpp:51
#define LIEF_API
Definition visibility.h:41