- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
// aload x; iload x+1; ...
// for normal (Object caller, param1, param2, ...) hook method startIndex must be 1
private static InsnList getParamsLoadSequence(String typeDesc, int varStartIndex)
{
// get parameters descriptor
typeDesc = typeDesc.substring(typeDesc.indexOf('(') + 1, typeDesc.lastIndexOf(')'));
InsnList resSequence = new InsnList();
int i = 0;
while (i < typeDesc.length()) {
resSequence.add(new VarInsnNode(parseLoadOpcode(typeDesc, i), varStartIndex++));
i = getNextTypeIdx(typeDesc, i);
}
return resSequence;
}
Иньо, это баг, или ты там балуешься?
Богатый, наверно. ©
>>
Ты зарегистрировал авторские права на эту фразу?