make some options configurable and rename some constants

This commit is contained in:
2017-12-25 17:31:43 +01:00
parent bef9b83826
commit 89f8c59d40
9 changed files with 71 additions and 99 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ void stackmon_check_canaries(void)
for (uint32_t i = 0; i < nextidx; i++) {
struct stackhandle *stack = &stacks[i];
if (stack->buffer[0] != 0xA5) {
dbg("\r\n\033[31;1m!!!! STACK \"%s\" OVERRUN - CANARY IS DEAD !!!!\033[m\r\n", stack->description);
dbg("\r\n\033[31;1m!!!! STACK \"%s\" OVERRUN - CANARY IS DEAD !!!!\033[m", stack->description);
stackmon_dump();
trap("ABORT");
}