Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> indexing the array you can have unrestricted read/write access to a large section of memory.

but won't the memory protection (write xor execute) stop the function pointer from jumping to the array body (since that's write memory)? Meh, i guess in actual practise, it's much more complicated than that...



I'm not a software guy but JavaScript allows self modifying code (SMC)


You can use ROP.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: