| Package | Description |
|---|---|
| com.android.dx.io | |
| com.android.dx.io.instructions |
| Modifier and Type | Method and Description |
|---|---|
void |
CodeReader.Visitor.visit(DecodedInstruction[] all,
DecodedInstruction one) |
void |
CodeReader.Visitor.visit(DecodedInstruction[] all,
DecodedInstruction one) |
void |
CodeReader.visitAll(DecodedInstruction[] decodedInstructions) |
| Modifier and Type | Class and Description |
|---|---|
class |
FillArrayDataPayloadDecodedInstruction
A decoded Dalvik instruction which contains the payload for
a
packed-switch instruction. |
class |
FiveRegisterDecodedInstruction
A decoded Dalvik instruction which has five register arguments.
|
class |
FourRegisterDecodedInstruction
A decoded Dalvik instruction which has five register arguments.
|
class |
InvokePolymorphicDecodedInstruction
A decoded invoke-polymorphic instruction.
|
class |
InvokePolymorphicRangeDecodedInstruction
A decoded invoke-polymorphic/range instruction.
|
class |
OneRegisterDecodedInstruction
A decoded Dalvik instruction which has one register argument.
|
class |
PackedSwitchPayloadDecodedInstruction
A decoded Dalvik instruction which contains the payload for
a
packed-switch instruction. |
class |
RegisterRangeDecodedInstruction
A decoded Dalvik instruction which has register range arguments (an
"A" start register and a register count).
|
class |
SparseSwitchPayloadDecodedInstruction
A decoded Dalvik instruction which contains the payload for
a
packed-switch instruction. |
class |
ThreeRegisterDecodedInstruction
A decoded Dalvik instruction which has three register arguments.
|
class |
TwoRegisterDecodedInstruction
A decoded Dalvik instruction which has two register arguments.
|
class |
ZeroRegisterDecodedInstruction
A decoded Dalvik instruction which has no register arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static DecodedInstruction |
DecodedInstruction.decode(CodeInput in)
Decodes an instruction from the given input source.
|
abstract DecodedInstruction |
InstructionCodec.decode(int opcodeUnit,
CodeInput in)
Decodes an instruction specified by the given opcode unit, reading
any required additional code units from the given input source.
|
static DecodedInstruction[] |
DecodedInstruction.decodeAll(short[] encodedInstructions)
Decodes an array of instructions.
|
DecodedInstruction |
RegisterRangeDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
OneRegisterDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
FiveRegisterDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
InvokePolymorphicRangeDecodedInstruction.withIndex(int newIndex) |
DecodedInstruction |
SparseSwitchPayloadDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
FourRegisterDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
FillArrayDataPayloadDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
ThreeRegisterDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
InvokePolymorphicDecodedInstruction.withIndex(int newIndex) |
DecodedInstruction |
ZeroRegisterDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
PackedSwitchPayloadDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
TwoRegisterDecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
abstract DecodedInstruction |
DecodedInstruction.withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
DecodedInstruction |
InvokePolymorphicRangeDecodedInstruction.withProtoIndex(int newIndex,
int newProtoIndex) |
DecodedInstruction |
InvokePolymorphicDecodedInstruction.withProtoIndex(int newIndex,
int newProtoIndex) |
DecodedInstruction |
DecodedInstruction.withProtoIndex(int newIndex,
int newProtoIndex)
Update the instruction with a new 45cc or 4rcc proto index.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
InstructionCodec.encode(DecodedInstruction insn,
CodeOutput out)
Encodes the given instruction.
|
Copyright © 2020. All Rights Reserved.