syscall_cp.s 360 字节
Newer Older
R
rofl0r 已提交
1
.text
R
rofl0r 已提交
2 3 4
.global __syscall_cp_internal
.type   __syscall_cp_internal,@function
__syscall_cp_internal:
R
rofl0r 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

.global __cp_begin
__cp_begin:
	mov (%rdi),%eax
	test %eax,%eax
	jnz __cancel
	mov %rdi,%r11
	mov %rsi,%rax
	mov %rdx,%rdi
	mov %rcx,%rsi
	mov %r8,%rdx
	mov %r9,%r10
	mov 8(%rsp),%r8
	mov 16(%rsp),%r9
	mov %r11,8(%rsp)
	syscall
.global __cp_end
__cp_end:
	ret