9#ifndef KUNAI_DEX_PARSER_PARSER_HPP
10#define KUNAI_DEX_PARSER_PARSER_HPP
12#include "Kunai/DEX/parser/header.hpp"
13#include "Kunai/DEX/parser/map_item.hpp"
14#include "Kunai/DEX/parser/strings.hpp"
15#include "Kunai/DEX/parser/types.hpp"
16#include "Kunai/DEX/parser/protos.hpp"
17#include "Kunai/DEX/parser/fields.hpp"
18#include "Kunai/DEX/parser/methods.hpp"
19#include "Kunai/DEX/parser/classes.hpp"
20#include "Kunai/Utils/kunaistream.hpp"
All classes from the DEX files.
Definition classes.hpp:290
Fields will contain all the FieldID from the DEX file.
Definition fields.hpp:114
Class representing the Map List, this map contains different information about different types.
Definition map_item.hpp:23
Methods contains all the MethodIDs from the DEX file.
Definition methods.hpp:118
Header & get_header()
Return a reference from the dex header.
Definition parser.hpp:83
Methods & get_methods()
get a reference to the methods
Definition parser.hpp:153
const Types & get_types_const() const
get a constant reference to the types
Definition parser.hpp:118
Fields & get_fields()
get a reference to the fields
Definition parser.hpp:146
const Protos & get_protos_const() const
get a constant reference to the prototypes
Definition parser.hpp:132
void parse_file()
parse the dex file and obtain the different objects
Protos & get_protos()
get a reference to the prototypes
Definition parser.hpp:139
Classes & get_classes()
Get a reference to the classes.
Definition parser.hpp:160
~Parser()=default
Destructor of the parser.
Strings & get_strings()
get a reference to the strings object
Definition parser.hpp:111
MapList & get_maplist()
Return a reference to the maplist with the map items.
Definition parser.hpp:97
Types & get_types()
get a reference to the types object
Definition parser.hpp:125
const Strings & get_strings_const() const
get a reference to the strings object, reference is constant
Definition parser.hpp:104
const MapList & get_maplist_const() const
Return a constant reference to the maplist with the map items.
Definition parser.hpp:90
Parser(stream::KunaiStream *stream)
Constructor of the parser.
Definition parser.hpp:65
const Header & get_header_const() const
Return a const reference from the dex header.
Definition parser.hpp:76
Class to manage all the ProtoID from the DEX file.
Definition protos.hpp:137
Storage class for all the strings of the DEX file.
Definition strings.hpp:34
Class to manage an input file stream given for the analysis.
Definition kunaistream.hpp:20
utilities
Definition analysis.hpp:23