Source: skullchap/neverflow: Set of macros that guard against buffer overflows. Based on C99 VLA feature.
Summary
Neverflow is a set of C99 macros for guarding against buffer overflows using variable length arrays (VLA) by declaring run-time sized arrays and performing run-time bounds-checking.
Fact
π‘οΈ Neverflow uses the C99 variable length array feature to guard against buffer overflows, and it includes two main macros to declare arrays and runtime bounds-checking.
π‘οΈ Neverflow also includes the GET macro which is shorthand for *AT and the LET macro which provides easier type inference for variables.
π‘οΈ Neverflow additionally includes macros to get the size and number of elements in an array to avoid incorrect buffer sizes and misuse of sizeof.
Source: Family Photos vs 256 Kb RAM
Summary
The Pimoroni Inky Frame, a 7-color eInk display, caught the author’s eye and he decided to make a dynamic family photo frame out of it for Valentine’s Day. However, he faced challenges with the device, including faulty battery packs and running out of memory due to large photo sizes and the Pimoroni SDK taking up a considerable portion of RAM.
Fact