16#ifndef LIEF_MAP_ITEM_H
17#define LIEF_MAP_ITEM_H
43 CALL_SITE_ID = 0x0007,
44 METHOD_HANDLE = 0x0008,
47 ANNOTATION_SET_REF_LIST = 0x1002,
48 ANNOTATION_SET = 0x1003,
54 ENCODED_ARRAY = 0x2005,
55 ANNOTATIONS_DIRECTORY = 0x2006,
61 MapItem(
TYPES type, uint32_t offset, uint32_t size, uint16_t reserved = 0);
Class which represents an element of the MapList object.
Definition MapItem.hpp:31
MapItem & operator=(const MapItem &)
uint32_t offset() const
Offset from the start of the DEX file to the items associated with the underlying TYPES.
uint16_t reserved() const
Reserved value (likely for alignment prupose)
MapItem(TYPES type, uint32_t offset, uint32_t size, uint16_t reserved=0)
uint32_t size() const
The number of elements (the real meaning depends on the type)
TYPES type() const
The type of the item.
friend std::ostream & operator<<(std::ostream &os, const MapItem &item)
TYPES
Definition MapItem.hpp:35
void accept(Visitor &visitor) const override
Class which parses a DEX file to produce a DEX::File object.
Definition DEX/Parser.hpp:38
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41