Disable stack canary by default

This commit is contained in:
Toby Jaffey 2025-12-12 21:01:40 +00:00
parent 3ecd16c8bf
commit 789cd74516
4 changed files with 13 additions and 3 deletions

View file

@ -183,6 +183,8 @@ The uvm32 memory size is set at compile time with `-DUVM32_MEMORY_SIZE=X` (in by
Define `UVM32_ERROR_STRINGS` to add an `errstr` field to `uvm32_evt_err_t` giving a printable error string.
Define `UVM32_STACK_PROTECTION` to enable a basic stack canary, to cause an early crash when the stack grows too large. Without this, the VM will normally crash (safely) in some other way which is less easily detected.
## Debugging
Binaries can be disassembled with