seed only returns size for now
parent
d8e23ad786
commit
d0a9a38ede
|
@ -1,7 +1,7 @@
|
|||
version: '3'
|
||||
services:
|
||||
sins_build:
|
||||
image: sins_build
|
||||
image: sins
|
||||
build:
|
||||
context: .
|
||||
volumes:
|
||||
|
@ -9,7 +9,7 @@ services:
|
|||
working_dir: /app
|
||||
command: yasm seed.asm -o seed
|
||||
sins_run:
|
||||
image: sins_build
|
||||
image: sins
|
||||
volumes:
|
||||
- ${PWD}:/app
|
||||
working_dir: /app
|
||||
|
|
21
seed.asm
21
seed.asm
|
@ -4,27 +4,10 @@
|
|||
nop
|
||||
mov rbp,rsp
|
||||
nop
|
||||
sub rsp,0x30
|
||||
nop
|
||||
mov QWORD [rbp-0x18],rdi
|
||||
nop
|
||||
mov DWORD [rbp-0x1c],esi
|
||||
nop
|
||||
mov QWORD [rbp-0x28],rdx
|
||||
nop
|
||||
mov rax,QWORD [rbp-0x28]
|
||||
nop
|
||||
mov QWORD [rbp-0x8],rax
|
||||
nop
|
||||
mov ecx,DWORD [rbp-0x1c]
|
||||
nop
|
||||
mov rdx,QWORD [rbp-0x18]
|
||||
mov QWORD [rbp-0x8],rdi
|
||||
nop
|
||||
mov rax,QWORD [rbp-0x8]
|
||||
nop
|
||||
mov esi,ecx
|
||||
pop rbp
|
||||
nop
|
||||
mov rdi,rdx
|
||||
nop
|
||||
call rax
|
||||
ret
|
||||
|
|
Loading…
Reference in New Issue