Tag
uninitialised-memory
- Feb 11, 2025 Uninitialised Memory, Padding, and the Cost of Assuming Zero Uninitialised bytes are not merely arbitrary values, they are a distinct state the optimiser tracks, and the distinction changes what a byte copy, a comparison, and a length assignment may legally do. systems programming
- Oct 22, 2024 Definedness Tracking: What Valgrind Memcheck Knows That Shadow Bytes Do Not Memcheck runs the program on a synthetic CPU and carries a definedness bit per bit of data, catching reads of uninitialised memory that address-based checks cannot see. systems programming