mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Instead of padding, use static entropy to detect corrupted header. * 64-bit, safe modes: 10 canary bits * 64-bit, unsafe modes: 0 canary bits * 32-bit: 27 canary bits A further enhancement, not done here, would be to upgrade from canary to parity.
197 lines
7.8 KiB
197 lines
7.8 KiB