KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
|
Class that specify the information from a try specifies address, number of instructions, and offset of handlers. More...
#include <encoded.hpp>
Classes | |
struct | try_item_struct_t |
Structure with the information from a Try code. More... | |
Public Member Functions | |
TryItem ()=default | |
Constructor of TryItem. | |
~TryItem ()=default | |
Destructor of TryItem. | |
void | parse_try_item (stream::KunaiStream *stream) |
Parse a try_item_struct_t from stream. | |
std::uint32_t | get_start_addr () const |
Get the start address of the try block. | |
std::uint16_t | get_insn_count () const |
Get the number of instruction counts from the try. | |
std::uint16_t | get_handler_off () const |
Get offset of handler from try. | |
Class that specify the information from a try specifies address, number of instructions, and offset of handlers.
|
inline |
Get offset of handler from try.
|
inline |
Get the number of instruction counts from the try.
|
inline |
Get the start address of the try block.
void KUNAI::DEX::TryItem::parse_try_item | ( | stream::KunaiStream * | stream | ) |
Parse a try_item_struct_t
from stream.
stream | DEX to read try_item_struct_t |