KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
|
Class that represent the array types. More...
#include <types.hpp>
Public Member Functions | |
DVMArray (std::string raw, size_t depth, dvmtype_t &array) | |
Constructor of DVMArray. | |
~DVMArray ()=default | |
Destructor of DVMArray. | |
type_e | get_type () const override |
Return the type in this case an Array type. | |
std::string | print_type () const override |
Return the string representation of the type. | |
const DVMType * | get_array_type () const |
Return a pointer to the type of the array. | |
size_t | get_depth () const |
Get the depth of the array specified as [[. | |
const std::string & | pretty_print () override |
Pretty print the name of the type. | |
![]() | |
DVMType (type_e type, std::string raw_type) | |
Constructor of DVMType. | |
virtual | ~DVMType ()=default |
Destructor of DVMType. | |
std::string & | get_raw () |
get raw string from the type object | |
Additional Inherited Members | |
![]() | |
enum | type_e { FUNDAMENTAL , CLASS , ARRAY , UNKNOWN } |
Types of the DVM we have by default fundamental, classes and array types. More... | |
Class that represent the array types.
|
inline |
Constructor of DVMArray.
raw | array type in raw |
depth | how many depth the array contains |
array | type of the array as a std::unique_ptr |
|
inline |
Return a pointer to the type of the array.
|
inline |
Get the depth of the array specified as [[.
|
inlineoverridevirtual |
Return the type in this case an Array type.
Implements KUNAI::DEX::DVMType.
|
overridevirtual |
Pretty print the name of the type.
Reimplemented from KUNAI::DEX::DVMType.
|
inlineoverridevirtual |
Return the string representation of the type.
Implements KUNAI::DEX::DVMType.