dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
dex::TypeInstruction Struct Reference

check-cast, instance-of, new-instance, new-array (0x1f–0x23). More...

#include <analysis/instruction.hpp>

Public Attributes

InstructionBase base
 
uint32_t type_index
 
uint8_t dest
 The register operated on: the cast register (check-cast), result (instance-of / new-array), or new object (new-instance).
 
std::optional< uint8_t > src
 instance-of: object reg; new-array: size reg.
 

Detailed Description

check-cast, instance-of, new-instance, new-array (0x1f–0x23).

Member Data Documentation

◆ base

InstructionBase dex::TypeInstruction::base

◆ type_index

uint32_t dex::TypeInstruction::type_index

◆ dest

uint8_t dex::TypeInstruction::dest

The register operated on: the cast register (check-cast), result (instance-of / new-array), or new object (new-instance).

◆ src

std::optional<uint8_t> dex::TypeInstruction::src

instance-of: object reg; new-array: size reg.

nullopt for check-cast and new-instance (single register).


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