KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KUNAI::DEX::Parser Class Reference

Public Member Functions

 Parser (stream::KunaiStream *stream)
 Constructor of the parser.
 
 ~Parser ()=default
 Destructor of the parser.
 
void parse_file ()
 parse the dex file and obtain the different objects
 
const Headerget_header_const () const
 Return a const reference from the dex header.
 
Headerget_header ()
 Return a reference from the dex header.
 
const MapListget_maplist_const () const
 Return a constant reference to the maplist with the map items.
 
MapListget_maplist ()
 Return a reference to the maplist with the map items.
 
const Stringsget_strings_const () const
 get a reference to the strings object, reference is constant
 
Stringsget_strings ()
 get a reference to the strings object
 
const Typesget_types_const () const
 get a constant reference to the types
 
Typesget_types ()
 get a reference to the types object
 
const Protosget_protos_const () const
 get a constant reference to the prototypes
 
Protosget_protos ()
 get a reference to the prototypes
 
Fieldsget_fields ()
 get a reference to the fields
 
Methodsget_methods ()
 get a reference to the methods
 
Classesget_classes ()
 Get a reference to the classes.
 

Constructor & Destructor Documentation

◆ Parser()

KUNAI::DEX::Parser::Parser ( stream::KunaiStream stream)
inline

Constructor of the parser.

Parameters
streamstream where to read the data

Member Function Documentation

◆ get_classes()

Classes & KUNAI::DEX::Parser::get_classes ( )
inline

Get a reference to the classes.

Returns
reference to classes

◆ get_fields()

Fields & KUNAI::DEX::Parser::get_fields ( )
inline

get a reference to the fields

Returns
reference to fields

◆ get_header()

Header & KUNAI::DEX::Parser::get_header ( )
inline

Return a reference from the dex header.

Returns
dex header reference

◆ get_header_const()

const Header & KUNAI::DEX::Parser::get_header_const ( ) const
inline

Return a const reference from the dex header.

Returns
const dex header reference

◆ get_maplist()

MapList & KUNAI::DEX::Parser::get_maplist ( )
inline

Return a reference to the maplist with the map items.

Returns
reference to maplist

◆ get_maplist_const()

const MapList & KUNAI::DEX::Parser::get_maplist_const ( ) const
inline

Return a constant reference to the maplist with the map items.

Returns
constant reference to maplist

◆ get_methods()

Methods & KUNAI::DEX::Parser::get_methods ( )
inline

get a reference to the methods

Returns
reference to methods

◆ get_protos()

Protos & KUNAI::DEX::Parser::get_protos ( )
inline

get a reference to the prototypes

Returns
reference to protos

◆ get_protos_const()

const Protos & KUNAI::DEX::Parser::get_protos_const ( ) const
inline

get a constant reference to the prototypes

Returns
constant reference to protos

◆ get_strings()

Strings & KUNAI::DEX::Parser::get_strings ( )
inline

get a reference to the strings object

Returns
reference to strings

◆ get_strings_const()

const Strings & KUNAI::DEX::Parser::get_strings_const ( ) const
inline

get a reference to the strings object, reference is constant

Returns
constant reference to strings

◆ get_types()

Types & KUNAI::DEX::Parser::get_types ( )
inline

get a reference to the types object

Returns
reference to types

◆ get_types_const()

const Types & KUNAI::DEX::Parser::get_types_const ( ) const
inline

get a constant reference to the types

Returns
constant reference to types

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