Commit Graph

9 Commits

Author SHA1 Message Date
Lev Walkin 435469ec33 remove gcc compiler warnings 2017-10-19 03:39:32 -07:00
Lev Walkin bc09dd4845 generate constraints differently to avoid warnings 2017-10-19 02:16:35 -07:00
Vasil Velichkov cef21e07ac Fix several memory leaks in the tests 2017-10-10 09:11:39 -07:00
Lev Walkin c8c286ab11 added fuzzer for XER test 70 2017-09-18 03:19:37 -07:00
Lev Walkin 4fe2882262 ensure xer encode yields the same number of bytes as it sends to the callback 2017-09-18 02:57:43 -07:00
Lev Walkin 7489807aa7 get rid of zer_* in favor of generic asn_encoder and asn_decoder 2017-09-18 00:56:06 -07:00
Lev Walkin a75b247f72 remove undefined behavior sanitizer warning 2017-09-18 00:38:43 -07:00
Bi-Ruei, Chiu 1f87ac0058 Move type operations to another structure
Every type has free, print, check_constraints, ber_decoder, der_encoder,
xer_decoder, xer_encoder, uper_decoder, uper_encoder and outmost_tag
operations. We move them out to a separate structure asn_TYPE_operation_t.

Combined with previous logic simplification, these operations are based
on ASN.1 basic types, constructed types and string types. So we can
reduce the space occupied by asn_TYPE_descriptor_t variables.
2017-08-24 14:09:28 +08:00
Lev Walkin 700df493dd reshuffled the tests layout 2017-08-10 14:59:15 -07:00