Add nasm/asm support for 64 bit binaries
This commit is contained in:
parent
050ea8caa1
commit
9ffca9abb1
|
@ -78,6 +78,7 @@ func Execute(res http.ResponseWriter, req *http.Request) {
|
|||
"julia", "jl",
|
||||
"kotlin",
|
||||
"nasm", "asm",
|
||||
"nasm64", "asm64",
|
||||
"node", "javascript", "js",
|
||||
"perl", "pl",
|
||||
"php",
|
||||
|
@ -151,6 +152,8 @@ func launch(request Inbound, res http.ResponseWriter) {
|
|||
execlang = "elixir"
|
||||
case "asm":
|
||||
execlang = "nasm"
|
||||
case "asm64":
|
||||
execlang = "nasm64"
|
||||
case "js", "javascript":
|
||||
execlang = "node"
|
||||
case "jl":
|
||||
|
|
|
@ -78,6 +78,9 @@ case "$lang" in
|
|||
"nasm" | "asm")
|
||||
bin=nasm
|
||||
;;
|
||||
"nasm64" | "asm64")
|
||||
bin=nasm64
|
||||
;;
|
||||
"node" | "js" | "javascript")
|
||||
bin=node
|
||||
;;
|
||||
|
|
|
@ -23,8 +23,10 @@ echo 'testing js'
|
|||
../execute js test.js
|
||||
echo 'testing kotlin'
|
||||
../execute kotlin test.kt
|
||||
echo 'testing asm'
|
||||
echo 'testing asm 32 bit'
|
||||
../execute asm test.nasm
|
||||
echo 'testing asm 64 bit'
|
||||
../execute asm64 test64.nasm
|
||||
echo 'testing php'
|
||||
../execute php test.php
|
||||
echo 'testing perl'
|
||||
|
|
Loading…
Reference in New Issue