You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recommend you take a look at ASN1SCC.
It generates C and ADA code that exclusively work on the stack.
A limit of this means your ASN.1 grammar has to have SIZE contraints everywhere.
Thank you @kentkost, we know that library, but we discarded using it because we are looking for a library that allows us to use Class types and Extension Marker (...)
If ASN1C could work by passing pointers to static allocated buffers or even providing our own malloc() and free() functions doing that, it would be great. Is that feasible?
I would say no. Basically the encoders that are generated by ASN1C use dynamic memory allocation. You'd basically have to rewrite each encoder and decoder.
Hi,
I'm working on a memory constrained platform and I can not use any calloc(), malloc() or free() function calls.
Is it possible to use asn1c generated code with only previously declared static buffers, never using dynamic memory allocation?
Thank you very much,
Álvaro
The text was updated successfully, but these errors were encountered: