diff options
Diffstat (limited to 'src/js/main.js')
| -rw-r--r-- | src/js/main.js | 13 |
1 files changed, 7 insertions, 6 deletions
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)); |
