KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
|
Information of catch handlers. More...
#include <encoded.hpp>
Public Member Functions | |
EncodedCatchHandler ()=default | |
Constructor of EncodedCatchHandler. | |
~EncodedCatchHandler ()=default | |
Destructor of EncodedCatchHandler. | |
void | parse_encoded_catch_handler (stream::KunaiStream *stream, Types *types) |
Parse all the encoded type pairs. | |
bool | has_explicit_typed_catches () const |
Check value of size to test if there are encodedtypepairs. | |
std::int64_t | get_size () const |
Get the size of the EncodedCatchHandler. | |
std::uint64_t | get_catch_all_addr () const |
Return the value from catch_all_addr. | |
const std::vector< encodedtypepair_t > & | get_handlers () const |
Get a constant reference to the vector of EncodedTypePair. | |
std::vector< encodedtypepair_t > & | get_handlers () |
Get a reference to the vector of EncodedTypePair. | |
std::uint64_t | get_offset () const |
Get the offset where encoded catch handler is. | |
EncodedTypePair * | get_handler_by_pos (std::uint64_t pos) |
Information of catch handlers.
|
inline |
Return the value from catch_all_addr.
|
inline |
Get a reference to the vector of EncodedTypePair.
|
inline |
Get a constant reference to the vector of EncodedTypePair.
|
inline |
Get the offset where encoded catch handler is.
|
inline |
Get the size of the EncodedCatchHandler.
size
documentation to check the possible values
|
inline |
Check value of size to test if there are encodedtypepairs.
void KUNAI::DEX::EncodedCatchHandler::parse_encoded_catch_handler | ( | stream::KunaiStream * | stream, |
Types * | types | ||
) |
Parse all the encoded type pairs.
stream | stream with DEX data |
types | types for the EncodedTypePair |