Skip to content

Rule: Bitfield width or position changed

Canonical rule slug: bitfield-changed. ← back to all rules

A bitfield member changes width or packing position, so existing binaries read and write the wrong bits.

Canonical demonstration