9#ifndef KUNAI_DEX_DVM_DALVIK_OPCODES_HPP
10#define KUNAI_DEX_DVM_DALVIK_OPCODES_HPP
12#include "Kunai/DEX/parser/encoded.hpp"
13#include "Kunai/DEX/DVM/dvm_types.hpp"
Class with static functions to manage information about the dalvik opcodes.
Definition dalvik_opcodes.hpp:23
DalvikOpcodes()=default
Constructor of Dalvik Opcodes.
static std::string get_method_access_flags(EncodedMethod *method)
Get a string representation of the access flags from a method.
static const std::string & get_instruction_type_string(std::uint32_t instruction)
Get an instruction type given an instruction opcode in string format.
static std::string get_access_flags_str(TYPES::access_flags flags)
Get a string representation of any access flags.
static const std::string & get_instruction_name(std::uint32_t instruction)
Find the instruction opcode in a map to obtain the instruction name.
~DalvikOpcodes()=default
Destructor of Dalvik Opcodes.
static TYPES::Operation get_instruction_operation(std::uint32_t instruction)
Find the instruction operation given an instruction opcode.
static std::string get_field_access_flags(EncodedField *field)
Get a string representation of the access flags from a field.
static TYPES::Kind get_instruction_type(std::uint32_t instruction)
Find the instruction type given an instruction opcode.
Class that represent field information it contains a FieldID and also the access flags.
Definition encoded.hpp:266
Class that represent the information from a Method.
Definition encoded.hpp:635
utilities
Definition analysis.hpp:23