From 8364663622bb5ff19e6eeba85f9a58f098b6b8f1 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sun, 24 Apr 2022 06:21:54 -0400 Subject: return val yay --- src/js/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/js/main.js') diff --git a/src/js/main.js b/src/js/main.js index 683c96a..923a8fd 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -48,6 +48,10 @@ function main() { printf("*(uint32_t*)base = 0x%x\n", read_u32(base)); callnarg(sym_cache["printf"], sptr("Hello world! %x %x %x %x %x %x %x %x %x %x %x %x %x\n"), 0x420, 0x69, 0x1337, 0x13371337, 0xb1a7e17, 0x41424344); + callnarg(sym_cache["printf"], sptr("Hello world! %x %x %x %x %x %x %x %x %x %x %x %x %x\n"), 0x420, 0x69, 0x1337, 0x13371337, 0xb1a7e17, 0x41424344); + callnarg(sym_cache["printf"], sptr("Hello world! %x %x %x %x %x %x %x %x %x %x %x %x %x\n"), 0x420, 0x69, 0x1337, 0x13371337, 0xb1a7e17, 0x41424344); + callnarg(sym_cache["printf"], sptr("Hello world! %x %x %x %x %x %x %x %x %x %x %x %x %x\n"), 0x420, 0x69, 0x1337, 0x13371337, 0xb1a7e17, 0x41424344); + callnarg(sym_cache["printf"], sptr("Hello world! %x %x %x %x %x %x %x %x %x %x %x %x %x\n"), 0x420, 0x69, 0x1337, 0x13371337, 0xb1a7e17, 0x41424344); // var i = 0; // while (true) { @@ -56,5 +60,5 @@ function main() { // i++; // } - printf("still alive18\n"); + printf("still alive\n"); }; -- cgit v1.2.3