11-09-2013, 11:09 AM
For MC:2004 the headline rule is unambiguous - dynamic allocation shall not be used.
This applies to the standard library functions [malloc(), free(), etc] but also to any user-defined equivalent functions.
Should you choose to Deviate then it is up to you to justify that decision.
This applies to the standard library functions [malloc(), free(), etc] but also to any user-defined equivalent functions.
Should you choose to Deviate then it is up to you to justify that decision.
Posted by and on behalf of the MISRA C Working Group