KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Attributes | List of all members
KUNAI::DEX::Header::dexheader_t Struct Reference

Structure with the definition of the DEX header all these values are later used for parsing the other headers from DEX. More...

#include <header.hpp>

Public Attributes

std::uint8_t magic [8]
 
std::int32_t checksum
 magic bytes from dex, different values are possible
 
std::uint8_t signature [20]
 checksum to see if file is correct
 
std::uint32_t file_size
 signature of dex
 
std::uint32_t header_size
 current file size
 
std::uint32_t endian_tag
 size of this header
 
std::uint32_t link_size
 type of endianess of the file
 
std::uint32_t link_off
 data for statically linked files
 
std::uint32_t map_off
 
std::uint32_t string_ids_size
 
std::uint32_t string_ids_off
 number of strings
 
std::uint32_t type_ids_size
 offset of the strings
 
std::uint32_t type_ids_off
 number of types
 
std::uint32_t proto_ids_size
 offset of the types
 
std::uint32_t proto_ids_off
 number of prototypes
 
std::uint32_t field_ids_size
 offset of the prototypes
 
std::uint32_t field_ids_off
 number of fields
 
std::uint32_t method_ids_size
 offset of the fields
 
std::uint32_t method_ids_off
 number of methods
 
std::uint32_t class_defs_size
 offset of the methods
 
std::uint32_t class_defs_off
 number of class definitions
 
std::uint32_t data_size
 offset of the class definitions
 
std::uint32_t data_off
 data area, containing all the support data for the tables listed above
 

Detailed Description

Structure with the definition of the DEX header all these values are later used for parsing the other headers from DEX.


The documentation for this struct was generated from the following file: