Skip to content

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

@codecov
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
@TheSkorm
Copy link

Just attempted to use asn1tools for c code generation with ia5string and ran into this. would be good to have in mainline

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.

4 participants