KUNAI Static Analyzer
Kunai is a library for doing static binary analysis of Dalvik.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KUNAI::DEX::EncodedTypePair Class Reference

Type of exception to catch with its address. More...

#include <encoded.hpp>

Public Member Functions

 EncodedTypePair (DVMType *type, std::uint64_t addr)
 Constructor for EncodedTypePair.
 
 ~EncodedTypePair ()=default
 Destructor of EncodedTypePair.
 
std::uint64_t get_addr () const
 Get the bytecode address of the associated exception handler.
 
const DVMTypeget_exception_type () const
 Get a constant pointer to the exception type.
 
DVMTypeget_exception_type ()
 Get pointer to exception type.
 

Detailed Description

Type of exception to catch with its address.

Constructor & Destructor Documentation

◆ EncodedTypePair()

KUNAI::DEX::EncodedTypePair::EncodedTypePair ( DVMType type,
std::uint64_t  addr 
)
inline

Constructor for EncodedTypePair.

Parameters
typetype of the exception
addraddress associated with the exception

Member Function Documentation

◆ get_addr()

std::uint64_t KUNAI::DEX::EncodedTypePair::get_addr ( ) const
inline

Get the bytecode address of the associated exception handler.

Returns
address of the exception handler

◆ get_exception_type() [1/2]

DVMType * KUNAI::DEX::EncodedTypePair::get_exception_type ( )
inline

Get pointer to exception type.

Returns
pointer to exception type

◆ get_exception_type() [2/2]

const DVMType * KUNAI::DEX::EncodedTypePair::get_exception_type ( ) const
inline

Get a constant pointer to the exception type.

Returns
pointer to exception type

The documentation for this class was generated from the following file: