Default nasm/asm to 32 bit binaries

This commit is contained in:
Kevin Diaz 2020-10-03 01:44:37 -04:00
parent 9d04f1929d
commit 050ea8caa1
No known key found for this signature in database
GPG Key ID: E62816A9BB674F94
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cd /tmp/$2 cd /tmp/$2
timeout -s KILL 10 nasm -f elf64 -o binary.o code.code timeout -s KILL 10 nasm -f elf32 -o binary.o code.code
timeout -s KILL 10 ld binary.o -o binary timeout -s KILL 10 ld -m elf_i386 binary.o -o binary
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary" runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"