Skip to content

Releases: esa/asn1scc

Maintenance release

13 Dec 19:39
45fb57e

Choose a tag to compare

This release fixes the following bugs:

  • #362 Add declaration of user-provided mapping functions (and others) as required by recent GCC versions
  • #356 Fix IA5String initialization strings in Ada

Minor bugfix in Ada backend

23 Oct 11:51

Choose a tag to compare

Bugfix / XER backend

29 Sep 08:30

Choose a tag to compare

Bugfix release covering:

  • Issue #349 : XER encoding issues with SEQUENCE OF CHOICE construct
  • Issue #346 : missing error message when using improperly the size ACN tag on BOOLEAN types
  • Other minor code refactoring

Bugfix

11 Aug 09:45

Choose a tag to compare

Maintenance release
fix issue #341

ICD Generation improvement

06 Jul 13:54

Choose a tag to compare

Implements feature described in #343
Addition of a filter in a panel to simplify the navigation in the generated ICD documents

image

Bugfixes

06 Jun 08:26

Choose a tag to compare

Maintenance release

  • fix a corner case of infinite loop
  • ICD generation improvement
  • Fix issue #334 (crash of asn1scc)
  • switch to .NET9

Maintenance release - bugfix

27 Apr 09:13

Choose a tag to compare

Fix issue #332 - generation of duplicate macro definitions in C, causing compiler warnings

Code optimization and decoding bufix

07 Apr 07:37

Choose a tag to compare

  • 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

  1. Unused Function Elimination via -icdPdus
    When using the -icdPdus argument, ASN1SCC now performs a dependency analysis starting from the specified PDUs and their associated functions (isEqual(), isValid(), init(), encode(), and decode()).

    • 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.
  2. New -dpdus Argument
    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 -icdPdus more 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.

Bugfixes

16 Mar 16:17

Choose a tag to compare

  • Fix missing Xer_EncodeNull and Xer_DecodeNull functions (#326)
  • Fix erroneous variable name in XER encoders (#325)
  • Removed warnings from latest GCC in compilation of autogenerated test cases (#323)
  • Fix corner case with hyphens generated in place of underscores (#322)
  • Detect and report REAL numbers that can't be represented in memory when used in bounds (#321)

v4.5.2.4 - Performance boost

13 Jan 13:29

Choose a tag to compare

This release is a maintenance release (no new features) addressing parsing performance (10x boost).