Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c code generator support IA5String for uper encoding #170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sailing0505
Copy link

This enchancement is to generate the C code for IA5String for UPER encoding
for example: foo.asn
FOO DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
DATAS ::= SEQUENCE {
fixedName IA5String (SIZE(3)),
variableName IA5String (SIZE(1..20))
}
END

execute: asn1tools generate_c_source --codec uper --generate-fuzzer foo.asn

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c890898) 34.82% compared to head (dac1694) 34.82%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #170   +/-   ##
=======================================
  Coverage   34.82%   34.82%           
=======================================
  Files           7        7           
  Lines        8666     8666           
=======================================
  Hits         3018     3018           
  Misses       5648     5648           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coveralls
Copy link

Coverage Status

coverage: 96.274% (-0.2%) from 96.473%
when pulling dac1694 on sailing0505:master
into c890898 on eerimoq:master.

@Futsch1
Copy link
Collaborator

Futsch1 commented Nov 14, 2023

Hi sailing0505,

Thanks for the pull request.

The changes look okay at first glance, I will perform a review once you add some tests for the new functionality to the PR.

@Futsch1 Futsch1 self-assigned this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants