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