java包直接修改bytecode, 经常会报错java.lang.VerifyError, 包含非常多种的检查
直接修改引擎dll文件去除效验
jvm.dll-X64-V21.0.0.0
.text:000000018084438F 48 8D 0D DA 42 21 00 lea rcx, aVerifyingMetho ; "Verifying method %s"
.text:0000000180844396 E8 E5 04 88 FF call LogMessage
Verifying method %s-1
.text:000000018084445F 45 3B CA cmp r9d, r10d
.text:0000000180844462 0F 8D 57 01 00 00 jge loc_1808445BF
.text:0000000180844468 0F 1F 84 00 00 00 00 00 nop dword ptr [rax+rax+00000000h]
.text:0000000180844470
.text:0000000180844470 loc_180844470: ; CODE XREF: VerifyingMethod+206
.text:0000000180844470 48 8B 85 D0 00 00 00 mov rax, [rbp+0E60h+var_D90]
000000018084445F | 45:3BCA | cmp r9d,r10d |
0000000180844462 | E9 58010000 | jmp jvm.1808445BF |
0000000180844467 | 90 | nop |
Verifying method %s-1
453BCA0F8D570100000F1F840000000000488B85D0000000
453BCAE95801000090
Verifying method %s-2
.text:00000001808445CB 4D 39 7D 08 cmp [r13+8], r15
.text:00000001808445CF 0F 85 C0 32 00 00 jnz loc_180847895
.text:00000001808445D5 4D 39 7C 24 18 cmp [r12+18h], r15
00000001808445CB | 4D:397D 08 | cmp qword ptr ds:[r13+0x8],r15 |
00000001808445CF | E9 C1320000 | jmp jvm.180847895 |
00000001808445D4 | 90 | nop |
Verifying method %s-2
4D397D080F85C03200004D397C2418
4D397D08E9C132000090
标签:lang,00,Java,Verifying,text,报错,java,method,cmp
From: https://www.cnblogs.com/zzz3265/p/18468335