Class with static functions to manage information about the dalvik opcodes.
More...
#include <dalvik_opcodes.hpp>
|
| DalvikOpcodes ()=default |
| Constructor of Dalvik Opcodes.
|
|
| ~DalvikOpcodes ()=default |
| Destructor of Dalvik Opcodes.
|
|
|
static const std::string & | get_instruction_name (std::uint32_t instruction) |
| Find the instruction opcode in a map to obtain the instruction name.
|
|
static TYPES::Kind | get_instruction_type (std::uint32_t instruction) |
| Find the instruction type given an instruction opcode.
|
|
static const std::string & | get_instruction_type_string (std::uint32_t instruction) |
| Get an instruction type given an instruction opcode in string format.
|
|
static TYPES::Operation | get_instruction_operation (std::uint32_t instruction) |
| Find the instruction operation given an instruction opcode.
|
|
static std::string | get_method_access_flags (EncodedMethod *method) |
| Get a string representation of the access flags from a method.
|
|
static std::string | get_field_access_flags (EncodedField *field) |
| Get a string representation of the access flags from a field.
|
|
static std::string | get_access_flags_str (TYPES::access_flags flags) |
| Get a string representation of any access flags.
|
|
Class with static functions to manage information about the dalvik opcodes.
◆ get_access_flags_str()
static std::string KUNAI::DEX::DalvikOpcodes::get_access_flags_str |
( |
TYPES::access_flags |
flags | ) |
|
|
static |
Get a string representation of any access flags.
- Parameters
-
access_flags | access flags value |
- Returns
- string representation of access flags
◆ get_field_access_flags()
static std::string KUNAI::DEX::DalvikOpcodes::get_field_access_flags |
( |
EncodedField * |
field | ) |
|
|
static |
Get a string representation of the access flags from a field.
- Parameters
-
method | field to retrieve its access flags |
- Returns
- string representation of access flags
◆ get_instruction_name()
static const std::string & KUNAI::DEX::DalvikOpcodes::get_instruction_name |
( |
std::uint32_t |
instruction | ) |
|
|
static |
Find the instruction opcode in a map to obtain the instruction name.
- Parameters
-
instruction | opcode of the instruction |
- Returns
- reference to instruction name
◆ get_instruction_operation()
static TYPES::Operation KUNAI::DEX::DalvikOpcodes::get_instruction_operation |
( |
std::uint32_t |
instruction | ) |
|
|
static |
Find the instruction operation given an instruction opcode.
- Parameters
-
instruction | opcode of the instruction |
- Returns
- operation of a instruction
◆ get_instruction_type()
static TYPES::Kind KUNAI::DEX::DalvikOpcodes::get_instruction_type |
( |
std::uint32_t |
instruction | ) |
|
|
static |
Find the instruction type given an instruction opcode.
- Parameters
-
instruction | opcode of the instruction |
- Returns
- kind of a instruction
◆ get_instruction_type_string()
static const std::string & KUNAI::DEX::DalvikOpcodes::get_instruction_type_string |
( |
std::uint32_t |
instruction | ) |
|
|
static |
Get an instruction type given an instruction opcode in string format.
- Parameters
-
- Returns
- constant reference to string with the Kind
◆ get_method_access_flags()
static std::string KUNAI::DEX::DalvikOpcodes::get_method_access_flags |
( |
EncodedMethod * |
method | ) |
|
|
static |
Get a string representation of the access flags from a method.
- Parameters
-
method | method to retrieve its access flags |
- Returns
- string representation of access flags
The documentation for this class was generated from the following file: