Fix comment
modified: stub/src/arch/amd64/bxx.S
This commit is contained in:
@@ -35,8 +35,9 @@ amdbxx: # (*f_unf)(xo->buf, out_len, h.b_cto8, h.b_ftid);
|
|||||||
|
|
||||||
#ifndef NO_METHOD_CHECK
|
#ifndef NO_METHOD_CHECK
|
||||||
cmpl $0x49,ftid; jne ckend0 # filter: JMP, CALL, 6-byte Jxx
|
cmpl $0x49,ftid; jne ckend0 # filter: JMP, CALL, 6-byte Jxx
|
||||||
push %rbx # save
|
|
||||||
#endif
|
#endif
|
||||||
|
push %rbx # save
|
||||||
|
|
||||||
push %rdi; lea (1 -4)(%rdi,%rsi),%rcx # beyond last possible displacement
|
push %rdi; lea (1 -4)(%rdi,%rsi),%rcx # beyond last possible displacement
|
||||||
pop %rsi # start of buffer
|
pop %rsi # start of buffer
|
||||||
push %rsi
|
push %rsi
|
||||||
@@ -66,9 +67,9 @@ ckstart:
|
|||||||
cmpq %rcx,%rsi; jae ckend
|
cmpq %rcx,%rsi; jae ckend
|
||||||
lodsb; jmp ckloop2 # 0x0F prefix would overlap previous displacement
|
lodsb; jmp ckloop2 # 0x0F prefix would overlap previous displacement
|
||||||
ckend:
|
ckend:
|
||||||
#ifndef NO_METHOD_CHECK
|
|
||||||
pop %rbx # restore
|
pop %rbx # restore
|
||||||
ckend0:
|
ckend0:
|
||||||
|
#ifndef NO_METHOD_CHECK
|
||||||
ret
|
ret
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user