Stores pointer to end of heap in r15 and compares using check-heap-ptr command sequence.
I tested the heap overflow detection by making the heap size 5, and the running with and without overflow detection. Without, it segfaulted. With, it failed by returning the error code but didn't segfault.
Stores pointer to end of heap in r15 and compares using check-heap-ptr command sequence.
I tested the heap overflow detection by making the heap size 5, and the running with and without overflow detection. Without, it segfaulted. With, it failed by returning the error code but didn't segfault.