seed only returns size for now

master
JoYo 2019-02-18 06:40:04 +00:00
parent d8e23ad786
commit d0a9a38ede
2 changed files with 6 additions and 23 deletions

View File

@ -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

View File

@ -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