KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
|
Class that represent the information from a Method. More...
#include <encoded.hpp>
Public Member Functions | |
EncodedMethod (MethodID *method_id, TYPES::access_flags access_flags) | |
Constructor of Encoded method. | |
~EncodedMethod ()=default | |
Destructor of Encoded method. | |
void | parse_encoded_method (stream::KunaiStream *stream, std::uint64_t code_off, Types *types) |
Parse the encoded method, this will parse the code item. | |
const MethodID * | getMethodID () const |
Get a constant pointer to the MethodID of the method. | |
MethodID * | getMethodID () |
Get a pointer to the MethodID of the encoded method. | |
TYPES::access_flags | get_access_flags () const |
Get access flags from the encoded method. | |
const CodeItemStruct & | get_code_item () const |
Get the code item from the encoded method. | |
CodeItemStruct & | get_code_item () |
Get the code item from the encoded method. | |
Class that represent the information from a Method.
|
inline |
Constructor of Encoded method.
method_id | method of the current encoded method |
access_flags | access flags of access of the method |
|
inline |
Get access flags from the encoded method.
|
inline |
Get the code item from the encoded method.
|
inline |
Get the code item from the encoded method.
|
inline |
|
inline |
void KUNAI::DEX::EncodedMethod::parse_encoded_method | ( | stream::KunaiStream * | stream, |
std::uint64_t | code_off, | ||
Types * | types | ||
) |
Parse the encoded method, this will parse the code item.
stream | stream with DEX file |
code_off | offset where code item struct |
types | types from the DEX |