[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua usage in safety-critical systems
- From: Rob Kendrick <rjek@...>
- Date: Wed, 8 Feb 2023 10:57:57 +0000
On Wed, Feb 08, 2023 at 11:40:07AM +0100, bil til wrote:
> In Stackoverflow forum, you find a hint that MISRA will NOT object, if
> you write your own malloc+free function. Just you must NOT invoke the
> predefined malloc / free of your compiler.
Tricky, MISRA is a paid-for standard (although it's not expensive): my
reading of it has always forbidden any kind of dynamic memory
allocation, and this includes recursion.