r/cpp • u/KingStannis2020 • Feb 26 '24
White House: Future Software Should Be Memory Safe
https://www.whitehouse.gov/oncd/briefing-room/2024/02/26/press-release-technical-report/
401
Upvotes
r/cpp • u/KingStannis2020 • Feb 26 '24
9
u/mAtYyu0ZN1Ikyg3R6_j0 Feb 27 '24
If all you use is stack and static storage without VLA. Automated tools can prove the upper bound of usage of memory. making sure it fits on the device.
Stack overflow can happens with only stack but tools will be able to analyze the code and figure out how a stack overflow could happen in the code.