|
struct | dexheader_t |
| Structure with the definition of the DEX header all these values are later used for parsing the other headers from DEX. More...
|
|
|
| Header ()=default |
| DEX header constructor.
|
|
void | parse_headers (stream::KunaiStream *stream) |
| Internal function for parsing the dex headers.
|
|
| Header (Header &header) |
| Copy constructor of dex header.
|
|
| ~Header ()=default |
| destructor of DEX header
|
|
const dexheader_t & | get_dex_header_const () const |
| Obtain a constant reference of the dex header struct if no value will be modified, use this function, it will be faster :)
|
|
dexheader_t & | get_dex_header () |
| Obtain a reference of the dex header struct just in case in the future DEX modification is allowed.
|
|
std::uint64_t | get_dex_header_size () const |
| Obtain the size of the dex header structure.
|
|
void | to_xml (std::ofstream &fos) |
| Dump the content of the DEX header to an XML file.
|
|
|
std::ostream & | operator<< (std::ostream &os, const Header &entry) |
| Pretty printer for the operator << of the DEX header.
|
|
◆ Header()
KUNAI::DEX::Header::Header |
( |
Header & |
header | ) |
|
|
inline |
Copy constructor of dex header.
- Parameters
-
header | reference to the header where to copy from |
◆ get_dex_header()
Obtain a reference of the dex header struct just in case in the future DEX modification is allowed.
- Returns
- reference to header structure
◆ get_dex_header_const()
const dexheader_t & KUNAI::DEX::Header::get_dex_header_const |
( |
| ) |
const |
|
inline |
Obtain a constant reference of the dex header struct if no value will be modified, use this function, it will be faster :)
- Returns
- const reference to header structure
◆ get_dex_header_size()
std::uint64_t KUNAI::DEX::Header::get_dex_header_size |
( |
| ) |
const |
|
inline |
Obtain the size of the dex header structure.
- Returns
◆ parse_headers()
Internal function for parsing the dex headers.
- Parameters
-
stream | stream with the dex file |
◆ to_xml()
void KUNAI::DEX::Header::to_xml |
( |
std::ofstream & |
fos | ) |
|
Dump the content of the DEX header to an XML file.
- Parameters
-
fos | file where to store the string |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Header & |
entry |
|
) |
| |
|
friend |
Pretty printer for the operator << of the DEX header.
- Parameters
-
os | output stream to print the dex header |
entry | entry to print |
- Returns
- received output stream
The documentation for this class was generated from the following file: