Remix.run Logo
cestith 2 days ago

When compiling to C, does it use MISRA C or some other accepted standard for how to write secure and reliable C?

EGreg a day ago | parent [-]

Yes, C11

But in terms of security and reliability, U's linter and compiler enforces that.

vrighter 6 hours ago | parent [-]

C11 is the c language version. misra C is a set of guidelines for robust code when lives are on the line.

One rule is "no malloc after initialization". so no, you probably aren't. Nor should you be. misra is intended for the programmerc not the compiler