Class which represents the DEX header. This is the first structure that begins the DEX format.
More...
#include <Header.hpp>
|
using | location_t = std::pair<uint32_t, uint32_t> |
|
using | magic_t = std::array<uint8_t, 8> |
|
using | signature_t = std::array<uint8_t, 20> |
|
template<class T > |
using | output_t = add_pointer_t<decay_t<T>> |
|
template<class T > |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
|
Class which represents the DEX header. This is the first structure that begins the DEX format.
The official documentation is provided here: https://source.android.com/devices/tech/dalvik/dex-format#header-item
◆ location_t
◆ magic_t
◆ signature_t
◆ Header() [1/3]
LIEF::DEX::Header::Header |
( |
| ) |
|
◆ Header() [2/3]
LIEF::DEX::Header::Header |
( |
const Header & | | ) |
|
◆ Header() [3/3]
template<class T >
LIEF::DEX::Header::Header |
( |
const T & | header | ) |
|
◆ ~Header()
LIEF::DEX::Header::~Header |
( |
| ) |
|
|
override |
◆ accept()
void LIEF::DEX::Header::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
◆ checksum()
uint32_t LIEF::DEX::Header::checksum |
( |
| ) |
const |
◆ classes()
◆ data()
◆ endian_tag()
uint32_t LIEF::DEX::Header::endian_tag |
( |
| ) |
const |
File endianess of the file.
◆ fields()
◆ file_size()
uint32_t LIEF::DEX::Header::file_size |
( |
| ) |
const |
Size of the entire file (including the current the header)
◆ header_size()
uint32_t LIEF::DEX::Header::header_size |
( |
| ) |
const |
Size of this header. It should be 0x70.
◆ link()
◆ magic()
magic_t LIEF::DEX::Header::magic |
( |
| ) |
const |
The DEX magic bytes (DEX\n
followed by the DEX version)
◆ map()
uint32_t LIEF::DEX::Header::map |
( |
| ) |
const |
Offset from the start of the file to the map list (see: DEX::MapList)
◆ methods()
◆ nb_classes()
uint32_t LIEF::DEX::Header::nb_classes |
( |
| ) |
const |
◆ nb_methods()
uint32_t LIEF::DEX::Header::nb_methods |
( |
| ) |
const |
◆ operator=()
◆ prototypes()
location_t LIEF::DEX::Header::prototypes |
( |
| ) |
const |
◆ signature()
SHA-1 DEX signature (which is not really used as a signature)
◆ strings()
Offset and size of the string pool.
◆ types()
The documentation for this class was generated from the following file: