4 ms·
MISRA doesn't really "forbid" anything. If you have a variation of the MISRA rules you're supposed to document and justify it. > like malloc which rules it o
by nullc 3y ago
MISRA doesn't really "forbid" anything. If you have a variation of the MISRA rules you're supposed to document and justify it.
> like malloc which rules it out for an enormous number of applications.
Malloc is overrated. If your program can't fail you need to have memory for its peak usage. If you do, you can obtain the memory up front and use it.