From 7de438565f03123d37f737d2cd905579e90bc21e Mon Sep 17 00:00:00 2001 From: spv Date: Sun, 24 Apr 2022 21:30:15 -0400 Subject: yeet --- src/js/main.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/js/main.js') diff --git a/src/js/main.js b/src/js/main.js index 4d978ef..ee0a627 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -12,6 +12,13 @@ var ARM_THREAD_STATE_COUNT = 0x11; var ARM_THREAD_STATE = 0x1; var LOG_SYSLOG = 0x28; +var PROT_READ = 0x1; +var PROT_WRITE = 0x2; +var PROT_EXEC = 0x4; + +var MAP_PRIVATE = 0x2; +var MAP_ANON = 0x1000; + try { puts("we out here in jsc"); } catch (e) { @@ -22,10 +29,6 @@ try { puts = function (){}; } -function csbypass() { - -} - function main() { /* * get slide and calculate slid base @@ -45,8 +48,6 @@ function main() { puts("we out here"); puts("I came through a portal holding a 40 and a blunt. Do you really wanna test me right now?"); -// csbypass(); - printf("slide=0x%x\n", slide); printf("*(uint8_t*)base = 0x%x\n", read_u8(base)); printf("*(uint16_t*)base = 0x%x\n", read_u16(base)); -- cgit v1.2.3