asn1c/libasn1fix
Bi-Ruei, Chiu 214c491951 Pass evaluated arguments to members and type references
One of the most tricky ASN.1 excerpt :

E-RABDataForwardingItemIEs S1AP-PROTOCOL-IES ::= {
    { ID id-E-RABDataForwardingItem   CRITICALITY ignore   TYPE E-RABDataForwardingItem PRESENCE mandatory },
    ...
}

E-RABSubjecttoDataForwardingList ::= E-RAB-IE-ContainerList { {E-RABDataForwardingItemIEs} }

E-RAB-IE-ContainerList { S1AP-PROTOCOL-IES : IEsSetParam } ::=
    ProtocolIE-ContainerList { 1, maxnoofE-RABs, {IEsSetParam} }

ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, S1AP-PROTOCOL-IES : IEsSetParam} ::=
    SEQUENCE (SIZE (lowerBound..upperBound)) OF
    ProtocolIE-SingleContainer {{IEsSetParam}}

ProtocolIE-SingleContainer {S1AP-PROTOCOL-IES : IEsSetParam} ::=
    ProtocolIE-Field {{IEsSetParam}}

ProtocolIE-Field {S1AP-PROTOCOL-IES : IEsSetParam} ::= SEQUENCE {
    id          S1AP-PROTOCOL-IES.&id           ({IEsSetParam}),
    criticality S1AP-PROTOCOL-IES.&criticality  ({IEsSetParam}{@id}),
    value       S1AP-PROTOCOL-IES.&Value        ({IEsSetParam}{@id})
}
2017-10-20 17:15:57 -07:00
..
Makefile.am add common lib 2017-08-22 01:44:56 -07:00
asn1fix.c Fix 'Information Object Set XXX contains no objects' when parsing S1AP's ASN.1 2017-10-20 17:15:57 -07:00
asn1fix.h effective constraint type for walking past SIZE() or FROM() nodes 2004-08-20 13:25:56 +00:00
asn1fix_bitstring.c removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
asn1fix_bitstring.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_class.c introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_class.h introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_compat.c string type compatibility 2005-03-20 11:07:34 +00:00
asn1fix_compat.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_constr.c removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
asn1fix_constr.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_constraint.c Fix 'Information Object Set XXX contains no objects' when parsing S1AP's ASN.1 2017-10-20 17:15:57 -07:00
asn1fix_constraint.h introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_constraint_compat.c narrowing to support 32-bit floats 2017-10-04 00:49:01 -07:00
asn1fix_crange.c removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
asn1fix_crange.h for OER use IEEE754 binary32 and binary64 format over the wire 2017-10-05 00:33:32 -07:00
asn1fix_cstring.c fixes for gcc 4.x 2005-06-15 18:41:50 +00:00
asn1fix_cstring.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_cws.c removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
asn1fix_cws.h Merge PR99 and its fixes to support parsing Information Object and Information Object Set 2017-05-07 22:20:30 +08:00
asn1fix_dereft.c refactored parameterization support 2006-03-21 03:40:38 +00:00
asn1fix_dereft.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_derefv.c Merge PR99 and its fixes to support parsing Information Object and Information Object Set 2017-05-07 22:20:30 +08:00
asn1fix_derefv.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_enum.c work in 128-bit integer values while compiling 2017-08-04 01:38:41 -07:00
asn1fix_enum.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_export.c introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_export.h introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_integer.c format and signedness mismatch fixes 2013-03-28 04:02:13 -07:00
asn1fix_integer.h introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_internal.h removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
asn1fix_misc.c rm warnings 2017-08-06 23:41:11 -07:00
asn1fix_misc.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_param.c Pass evaluated arguments to members and type references 2017-10-20 17:15:57 -07:00
asn1fix_param.h do not use reserved identifiers 2016-03-14 02:57:34 -07:00
asn1fix_retrieve.c Fix unrecognized value type for reject/ignore 2017-10-20 17:15:57 -07:00
asn1fix_retrieve.h introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_tags.c introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_tags.h introduce namespaces 2017-08-22 01:48:23 -07:00
asn1fix_value.c Merge PR99 and its fixes to support parsing Information Object and Information Object Set 2017-05-07 22:20:30 +08:00
asn1fix_value.h introduce namespaces 2017-08-22 01:48:23 -07:00
check_fixer.c cosmetics 2017-10-08 16:33:57 -07:00