QP Shooting - Dangerous!! Free Downloadl
- temekapress838j1bz
- Aug 17, 2023
- 1 min read
But the reordering of sections in RAM helps in two ways. First, you play safe by protecting the data from corruption by the stack. Second, on many systems you also get an instantaneous and free stack overflow detection in form of a hardware exception triggered in the CPU. For example, on ARM Cortex-M an attempt to read to or write from an address below the beginning of RAM causes the Hard Fault exception. Later in the article I will show how to design the exception handler to avoid shooting yourself in the foot again. But before I do this, let me first explain how to change the order of sections in RAM.
QP Shooting - Dangerous!! Free Downloadl
2ff7e9595c
Comments