Save the information of the code from a Method.
More...
#include <encoded.hpp>
Save the information of the code from a Method.
◆ get_bytecode() [1/2]
std::vector< std::uint8_t > & KUNAI::DEX::CodeItemStruct::get_bytecode |
( |
| ) |
|
|
inline |
Get a reference to the vector with the bytecode.
- Returns
- reference to bytecode of the method
◆ get_bytecode() [2/2]
const std::vector< std::uint8_t > & KUNAI::DEX::CodeItemStruct::get_bytecode |
( |
| ) |
const |
|
inline |
Get a constant reference to the vector with the bytecode.
- Returns
- constant reference to the bytecode of the method
◆ get_encoded_catch_handler_offset()
std::uint64_t KUNAI::DEX::CodeItemStruct::get_encoded_catch_handler_offset |
( |
| ) |
|
|
inline |
Return the offset where encoded catch handler is read.
- Returns
- offset to encoded catch handler list
◆ get_encoded_catch_handlers() [1/2]
std::vector< encodedcatchhandler_t > & KUNAI::DEX::CodeItemStruct::get_encoded_catch_handlers |
( |
| ) |
|
|
inline |
Get a reference to the catch handlers vector.
- Returns
- reference to catch handlers of the method
◆ get_encoded_catch_handlers() [2/2]
const std::vector< encodedcatchhandler_t > & KUNAI::DEX::CodeItemStruct::get_encoded_catch_handlers |
( |
| ) |
const |
|
inline |
Get a constant reference to the catch handlers vector.
- Returns
- constant reference catch handlers of the method
◆ get_incomings_args()
std::uint16_t KUNAI::DEX::CodeItemStruct::get_incomings_args |
( |
| ) |
const |
|
inline |
Get the number of words incoming arguments to the method.
- Returns
- number of words incoming arguments
◆ get_instructions_size()
std::uint16_t KUNAI::DEX::CodeItemStruct::get_instructions_size |
( |
| ) |
const |
|
inline |
Get size of the dalvik instructions (number of opcodes)
- Returns
- size of dalvik instructions
◆ get_number_try_items()
std::uint16_t KUNAI::DEX::CodeItemStruct::get_number_try_items |
( |
| ) |
const |
|
inline |
Get the number of try items in the method.
- Returns
- number of try items
◆ get_offset_to_debug_info()
std::uint16_t KUNAI::DEX::CodeItemStruct::get_offset_to_debug_info |
( |
| ) |
const |
|
inline |
Get the offset to the debug information.
- Returns
- offset to debug information
◆ get_outgoing_args()
std::uint16_t KUNAI::DEX::CodeItemStruct::get_outgoing_args |
( |
| ) |
const |
|
inline |
Get the number of words outgoing argument space required by the code.
- Returns
- number of words outgoing argument space
◆ get_registers_size()
std::uint16_t KUNAI::DEX::CodeItemStruct::get_registers_size |
( |
| ) |
const |
|
inline |
Get the number of registers used in a method.
- Returns
- number of registers
◆ get_try_items() [1/2]
std::vector< tryitem_t > & KUNAI::DEX::CodeItemStruct::get_try_items |
( |
| ) |
|
|
inline |
Get a reference to the vector of Try Items.
- Returns
- reference to all try items
◆ get_try_items() [2/2]
const std::vector< tryitem_t > & KUNAI::DEX::CodeItemStruct::get_try_items |
( |
| ) |
const |
|
inline |
Get a constant reference to the vector of Try Items.
- Returns
- constant reference to all try items
◆ parse_code_item_struct()
The documentation for this class was generated from the following file: