|
dex++ 0.3.1
C++ and C API reference
|
An incoming parameter and the register that holds it on method entry. More...
#include <analysis/method.hpp>
Public Attributes | |
| uint16_t | reg |
| First register holding the parameter (low half if wide). | |
| std::string_view | type |
Descriptor of the declared type, such as "I" or "Ljava/lang/String;"; the declaring class for this. | |
| bool | is_this |
| True for the implicit receiver of an instance method. | |
| bool | is_wide |
| True for long / double (occupies reg and reg + 1). | |
An incoming parameter and the register that holds it on method entry.
Dalvik places incoming arguments in the last ins_size registers of the frame. This resolves that convention: the implicit this of an instance method comes first, then declared parameters in order, with wide (long / double) parameters occupying a register pair (reg and reg + 1).
| uint16_t dex::ParameterRegister::reg |
First register holding the parameter (low half if wide).
| std::string_view dex::ParameterRegister::type |
Descriptor of the declared type, such as "I" or "Ljava/lang/String;"; the declaring class for this.
Valid for the context's lifetime.
| bool dex::ParameterRegister::is_this |
True for the implicit receiver of an instance method.
| bool dex::ParameterRegister::is_wide |
True for long / double (occupies reg and reg + 1).