15#ifndef LIEF_DWARF_TYPE_ARRAY_H
16#define LIEF_DWARF_TYPE_ARRAY_H
35 std::unique_ptr<Type>
type =
nullptr;
43 operator bool()
const {
72 mutable std::unique_ptr<Type> underlying_;
@ ARRAY
Definition DWARF/Type.hpp:131
This class represents a DW_TAG_array_type.
Definition DWARF/types/Array.hpp:26
const Type * underlying_type() const
The underlying type of this array.
const Type * operator->() const
Definition DWARF/types/Array.hpp:55
size_info_t size_info() const
Return information about the size of this array.
static bool classof(const Type *type)
Definition DWARF/types/Array.hpp:48
const Type & operator*() const
Definition DWARF/types/Array.hpp:59
Definition DWARF/types/Array.hpp:23
Namespace for the DWARF debug format.
Definition DWARF/CompilationUnit.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:40
Structure that wraps information about the dimension of this array.
Definition DWARF/types/Array.hpp:31
std::unique_ptr< Type > type
Type of the index for this array.
Definition DWARF/types/Array.hpp:35
std::string name
Name of the index (usually not relevant like __ARRAY_SIZE_TYPE__).
Definition DWARF/types/Array.hpp:38
size_t size
Size of the array. For instance in uint8_t[3], it returns 3.
Definition DWARF/types/Array.hpp:41
#define LIEF_API
Definition visibility.h:41