Go to the documentation of this file.
17#ifndef LIEF_DEX_HEADER_H
18#define LIEF_DEX_HEADER_H
43 using location_t = std::pair<uint32_t, uint32_t>;
45 using magic_t = std::array<uint8_t, 8>;
46 using signature_t = std::array<uint8_t, 20>;
54 magic_t
magic()
const;
90 void accept(Visitor& visitor)
const override;
100 signature_t signature_;
103 uint32_t header_size_;
104 uint32_t endian_tag_;
111 uint32_t string_ids_size_;
112 uint32_t string_ids_off_;
114 uint32_t type_ids_size_;
115 uint32_t type_ids_off_;
117 uint32_t proto_ids_size_;
118 uint32_t proto_ids_off_;
120 uint32_t field_ids_size_;
121 uint32_t field_ids_off_;
123 uint32_t method_ids_size_;
124 uint32_t method_ids_off_;
126 uint32_t class_defs_size_;
127 uint32_t class_defs_off_;
Class which parses a DEX file to produce a DEX::File object.
Definition DEX/Parser.hpp:38
Definition Visitor.hpp:225
Definition DEX/Class.hpp:30
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41
#define LIEF_LOCAL
Definition visibility.h:42