
Fundamentals
Initialise Structs and Arrays Safely With Designated Initialisers in C
Use C99 designated initializers to set struct fields and array slots by name, zero the rest and avoid uninitialized reads. Includes flags and pitfalls.
7 min read
Tag
15 posts

Use C99 designated initializers to set struct fields and array slots by name, zero the rest and avoid uninitialized reads. Includes flags and pitfalls.

Clang and LLVM from first compile to production: architecture, diagnostics, sanitizers, clangd, clang-tidy, coverage, ThinLTO, cross-compiling and tools.

Every GCC and Clang hardening flag that matters, with its minimum version, cost and effect on the binary, plus Make, CMake and Meson recipes and checks.