Project

General

Profile

Bug #2435

Osmocom asn1c/libasn1c is based on old fork

Added by laforge 5 months ago. Updated 3 days ago.

Status:
New
Priority:
Normal
Assignee:
sysmocom
Target version:
-
Start date:
08/14/2017
Due date:
% Done:

0%

Spec Reference:

Description

We have a fork of asn1c/libasn1c that's from April 2015.

We should rebase our changes on current upstream master (which has picked up development speed again) and keep rebasing.


Related issues

Related to OsmoHNBGW - Feature #2436: Test cases for asn1c APER encoding New 08/14/2017
Related to OsmoHNBGW - Bug #2437: synchronize different asn1c APER forks New 08/14/2017

History

#1 Updated by laforge 5 months ago

  • Related to Feature #2436: Test cases for asn1c APER encoding added

#2 Updated by laforge 5 months ago

  • Related to Bug #2437: synchronize different asn1c APER forks added

#3 Updated by laforge 3 days ago

FYI: I just used current asn1c master 4cc779fd9bd7f556699b5863cf111b359da10b66 (last commit November 21, 2017) to successfully compile HNBAP and RANAP from wireshark.gig:

asn1c -fcompound-names -fline-refs -funnamed-unions HNBAP-CommonDataTypes.asn  HNBAP-Constants.asn  HNBAP-Containers.asn  HNBAP-IEs.asn  HNBAP-PDU-Contents.asn  HNBAP-PDU-Descriptions.asn
asn1c -fcompound-names -fline-refs -funnamed-unions RANAP-CommonDataTypes.asn RANAP-Constants.asn RANAP-Containers.asn RANAP-IEs.asn RANAP-PDU-Contents.asn RANAP-PDU-Descriptions.asn
asn1c -fcompound-names -fline-refs -funnamed-unions RUA-CommonDataTypes.asn  RUA-Constants.asn  RUA-Containers.asn  RUA-IEs.asn  RUA-PDU-Contents.asn  RUA-PDU-Descriptions.asn

This means it is capable to parse the full extent of information object classes contained in the relevant 3GPP specs, without relying on any asn1tostruct.py hacks!

It still is missing the APER and type prefixing which we need, so those would have to be forward-ported, and our existing code written against the assumptions of asn1tostruct.py ported over.

Also available in: Atom PDF