diff options
| author | spv <aquaticvegetable@gmail.com> | 2022-04-24 21:30:15 -0400 |
|---|---|---|
| committer | spv <aquaticvegetable@gmail.com> | 2022-04-24 21:30:15 -0400 |
| commit | 7de438565f03123d37f737d2cd905579e90bc21e (patch) | |
| tree | 2459045c6f8035aac6340361170142a144c0274f /src/js/main.js | |
| parent | 5f9294a0e7aac5b9e105ccee737e42fc5c4cff63 (diff) | |
yeet
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)); |
