diff options
| author | spv420 <unomilliono@gmail.com> | 2022-06-01 17:42:57 -0400 |
|---|---|---|
| committer | spv420 <unomilliono@gmail.com> | 2022-06-01 17:42:57 -0400 |
| commit | 503819ae5478e99163ea3b30e9055956a39bfd99 (patch) | |
| tree | 5297355b8b7d074e53172f0499da1fb99fc14fd3 /src | |
| parent | 57c50e0e3ee3a5ffb37dfa54964b51edfb01789f (diff) | |
fix puts
Diffstat (limited to 'src')
| -rw-r--r-- | src/js/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/main.js b/src/js/main.js index c6ceba0..8a13df6 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -21,6 +21,7 @@ var MAP_ANON = 0x1000; var victim = {a: 13.37}; +if (0) { /* * leftover shit from jsc_fun, used to be using `log` */ @@ -33,6 +34,7 @@ try { puts = function (){}; } +} var JSStringCreateWithUTF8CString = 0x239f9d0d; var JSObjectGetProperty = 0x239fa411; @@ -54,7 +56,7 @@ function main() { init_sptr_heap(); - scall("printf", "%x %x %x %x", 0x41, 0x42, 0x43, 0x44); + scall("printf", "%x %x %x %x\n", 0x41, 0x42, 0x43, 0x44); puts("we out here"); puts("I came through a portal holding a 40 and a blunt. Do you really wanna test me right now?"); |
