[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua usage in safety-critical systems
- From: Enrico Colombini <erix@...>
- Date: Wed, 8 Feb 2023 16:08:11 +0100
On 08-Feb-23 11:57, Rob Kendrick wrote:
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.
I never worked in MISRA-regulated fields, but I always wondered about