Put small, reusable C helpers here only when they have a clear owner and tests. Avoid creating a generic utility framework. Validate sizes and allocation arithmetic, and document ownership for allocated data.