On 2025-06-24 08:11, Jan Beulich wrote:
On 24.06.2025 01:45, Stefano Stabellini wrote:
Rule 21.16 is about the types of arguments allowed for memcpy.

Seeing the subject - is it memcmp(), memcpy(), or both? (Writing from
home, where I don't have the Misra spec to hand, and hence can't check
what coverage the rule has.)

Jan

In this case the rule covers just memcmp(): "The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type"

--
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253

Reply via email to