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

@ -118,7 +118,9 @@ typedef struct {
struct MiniRV32IMAState _core; /*! CPU registers */
uint8_t _memory[UVM32_MEMORY_SIZE]; /*! Memory */
uvm32_evt_t _ioevt; /*! Event to be returned on next pause */
#ifdef UVM32_STACK_PROTECTION
uint8_t *_stack_canary; /*! Location of stack canary */
#endif
uint8_t *_extram; /*! External RAM pointer, or NULL */
uint32_t _extramLen; /*! Length of external RAM */
bool _extramDirty; /*! Flag to indicate VM code has modified extram since last run */