|
LIEF: Library to Instrument Executable Formats Version 2.0.0
|
A piece of a composite location. More...
#include <Location.hpp>
Public Types | |
| enum class | KIND : uint8_t { BYTE = 0 , BIT } |
Public Attributes | |
| KIND | kind = KIND::BYTE |
| Whether this piece comes from DW_OP_piece or DW_OP_bit_piece. | |
| uint64_t | bit_size = 0 |
| Size of this piece in bits. | |
| uint64_t | bit_offset = 0 |
| Offset (in bits) of this piece within the whole value. | |
| std::optional< uint64_t > | source_bit_offset |
| For a DW_OP_bit_piece, the offset (in bits) of this piece within its location (e.g. the register). | |
| std::unique_ptr< Location > | location |
| Location of this piece or a nullptr if it can't be decoded. | |
A piece of a composite location.
|
strong |
| uint64_t LIEF::dwarf::CompositeLocation::Piece::bit_offset = 0 |
Offset (in bits) of this piece within the whole value.
| uint64_t LIEF::dwarf::CompositeLocation::Piece::bit_size = 0 |
Size of this piece in bits.
| KIND LIEF::dwarf::CompositeLocation::Piece::kind = KIND::BYTE |
Whether this piece comes from DW_OP_piece or DW_OP_bit_piece.
| std::unique_ptr<Location> LIEF::dwarf::CompositeLocation::Piece::location |
Location of this piece or a nullptr if it can't be decoded.
| std::optional<uint64_t> LIEF::dwarf::CompositeLocation::Piece::source_bit_offset |
For a DW_OP_bit_piece, the offset (in bits) of this piece within its location (e.g. the register).