summaryrefslogtreecommitdiff
path: root/src/js/main.js
diff options
context:
space:
mode:
authorspv420 <unomilliono@gmail.com>2022-04-24 07:09:36 -0400
committerspv420 <unomilliono@gmail.com>2022-04-24 07:09:36 -0400
commit7f688e294ff9bec8517411c614dedacd68c3684b (patch)
tree8c5834fe5e6365e5141bc1af4712f813a9255a3c /src/js/main.js
parent8364663622bb5ff19e6eeba85f9a58f098b6b8f1 (diff)
yeet
Diffstat (limited to 'src/js/main.js')
-rw-r--r--src/js/main.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/js/main.js b/src/js/main.js
index 923a8fd..4028ed6 100644
--- a/src/js/main.js
+++ b/src/js/main.js
@@ -37,7 +37,7 @@ function main() {
init_sptr_heap();
- var i = 0;
+// var i = 0;
puts("we out here");
puts("I came through a portal holding a 40 and a blunt. Do you really wanna test me right now?");
@@ -53,12 +53,12 @@ function main() {
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) {
-// calls4arg("sysputs", 0x28, sptr("get rekt from jsc %d (slide=%x)\n"), i, slide);
-// calls4arg("sleep", 1, 0, 0, 0);
-// i++;
-// }
+ var i = 0;
+ while (true) {
+ calls4arg("syslog", 0x28, sptr("get rekt from jsc %d (slide=%x)\n"), i, slide);
+ calls4arg("sleep", 1, 0, 0, 0);
+ i++;
+ }
printf("still alive\n");
};