-
Notifications
You must be signed in to change notification settings - Fork 69
Releases: esa/asn1scc
Bugfixes and small improvements
- Add ACN ICD template for Latex (in
contribfolder) - draft - Move to .NET10
- Fix generation of REAL type constraints in icd_new
- Report invalid ACN size constraints for enumerated types
- Fix ICD generation combined with --acn-v2
- Add ACNv2 support in Ada backend
Assets 3
Major release - introduce ACN v2 C backend
This is a major new release as the C backend for ACN has been deeply refactored.
- Documentation of the changes here: https://github.com/esa/asn1scc/blob/master/Docs/ACN-Deferred-Patching.md
- Fix 4 security vulnerabilities in C runtime (CVE-DRAFT-1..4)
Assets 3
Maintenance release
45fb57e Assets 3
Minor bugfix in Ada backend
Assets 3
Bugfix / XER backend
Assets 3
Bugfix
Assets 4
ICD Generation improvement
Assets 3
Bugfixes
Maintenance release
- fix a corner case of infinite loop
- ICD generation improvement
- Fix issue #334 (crash of asn1scc)
- switch to .NET9
Assets 3
Maintenance release - bugfix
Fix issue #332 - generation of duplicate macro definitions in C, causing compiler warnings
Assets 3
Code optimization and decoding bufix
-
Major bugfix (issue #330) Possible invalid memory access in BitStream_ReadByte (could point to an invalid memory address if buffer was larger than value set in the byte counter)
-
This version introduces a functionality to automatically detect and exclude unused generated functions, resulting in significantly smaller output code for both C and Ada backends.
Key Features
-
Unused Function Elimination via
-icdPdus
When using the-icdPdusargument, ASN1SCC now performs a dependency analysis starting from the specified PDUs and their associated functions (isEqual(),isValid(),init(),encode(), anddecode()).- Only the functions directly or indirectly required by these PDUs are generated.
- All unused functions are excluded from the output, reducing code size and improving maintainability.
-
New
-dpdusArgument
A new command-line option,-dpdus, was added to help identify Protocol Data Units (PDUs) in the input ASN.1 grammar.- PDUs are defined as top-level types that are not referenced by any other type.
- Detected PDUs are printed to the console to help users configure
-icdPdusmore easily.
Impact
- Reduces the size of generated code by omitting unused functions.
- Especially beneficial for resource-constrained systems or projects aiming to minimize binary size.