Commit Graph

64 Commits

Author SHA1 Message Date
Lev Walkin a5972bedae Combined constraints and introduced value randomizer. 2017-09-29 23:15:58 -07:00
Lev Walkin 3f99563146 cross-compile-safe options 2017-09-26 18:27:32 -07:00
Lev Walkin 0995f351ec get rid of undefined behavior 2017-09-17 23:16:38 -07:00
Lev Walkin afbf2a9828 add const 2017-09-12 23:30:27 -07:00
Lev Walkin 154519a3a7 removed superfluous constraints duplication 2017-09-06 23:34:40 -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 cd2f48eb5a structure comparison functions 2017-08-10 02:52:25 -07:00
Lev Walkin 494fb707a7 fix warnings 2017-08-07 20:07:08 -07:00
Lev Walkin b33425f16b fix OER stubs order 2017-08-02 13:32:18 -07:00
Lev Walkin 7678076f34 introduce oer constraint code 2017-08-02 13:32:16 -07:00
Lev Walkin cc1594746a add skeleton OER stubs 2017-08-02 13:32:16 -07:00
Lev Walkin 80334ed5db guard PER references 2017-07-06 07:28:21 -07:00
Lev Walkin 72ec909738 introduce intmax_t 2017-07-05 05:49:12 -07:00
Lev Walkin 74757c8be3 avoid shifting negative value 2016-07-02 23:02:59 -07:00
Lev Walkin 7c1dc05f0e do not use reserved identifiers, contd 2016-03-14 03:08:19 -07:00
Lev Walkin 104af19d65 pedantic c89 safety 2016-01-24 22:13:27 -08:00
Wim Lewis 18c2ec9f1d Declare the tags[] tables in skeletons as const.
Constify the PER support structure.
Constify a few other private tables in the skeleton code.
2014-07-29 11:30:10 -07:00
Wim Lewis 14e6b16146 Declare the type descriptor and input buffer args of some functions as const. 2014-07-23 16:06:01 -07:00
Lev Walkin 70732a2216 remove warning 2013-12-07 10:55:14 -08:00
Lev Walkin cad560ae79 make one-pass parsing for object identifier 2013-03-16 07:00:58 -07:00
Lev Walkin aed43c8bcc fix parsing for OID and RELATIVE-OID 2012-09-04 15:08:46 -07:00
Lev Walkin f59271171f remove volatile qualifier from OID code 2012-09-03 00:48:52 -07:00
Lev Walkin 9a338f8d25 unbreak overflow detection in gcc 4.4.3 (4.x?) 2012-01-22 16:38:37 -08:00
Lev Walkin ed9019a9e4 constraint fail message 2006-10-16 12:18:41 +00:00
Lev Walkin 50b0f6ccd2 gcc-izm removed 2006-10-16 12:01:36 +00:00
Lev Walkin 725883b28d more PER support 2006-10-09 12:07:58 +00:00
Lev Walkin 523de9eba2 per support 2006-08-18 01:34:18 +00:00
Lev Walkin 1eded3544e *** empty log message *** 2006-07-13 11:19:01 +00:00
Lev Walkin b1a15559b2 consting 2005-12-22 21:39:44 +00:00
Lev Walkin 59b176ee35 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
Lev Walkin 4b95ab9084 *** empty log message *** 2005-11-13 09:19:11 +00:00
Lev Walkin fdb25925db tried -pedantic 2005-07-21 09:32:49 +00:00
Lev Walkin 093ba2e5e5 highlight optionality 2005-04-04 21:10:06 +00:00
Lev Walkin fc77643765 globalized assert() 2005-03-29 17:21:14 +00:00
Lev Walkin 8c3b854016 added const qualifier 2005-03-10 18:52:02 +00:00
Lev Walkin 2c34aad7ac strict character set 2005-03-10 11:50:24 +00:00
Lev Walkin 0fab1a6fed relaxed XER processing rules for whitespace 2005-03-09 22:19:25 +00:00
Lev Walkin e0b56e0d58 XMLValueList support 2005-02-25 12:10:27 +00:00
Lev Walkin c17d90fb50 no lvalue casting 2005-01-17 14:32:45 +00:00
Lev Walkin 923022553d OBJECT IDENTIFIER and RELATIVE-OID XER decoding 2004-10-23 10:16:51 +00:00
Lev Walkin dc06f6b0d2 XER support 2004-10-20 15:50:55 +00:00
Lev Walkin 5e03376b84 asn1_* renamed into asn_* 2004-09-29 13:26:15 +00:00
Lev Walkin 8e8078aa88 clean-up; removed unnecessary field from type descriptor 2004-09-26 13:10:40 +00:00
Lev Walkin a9cc46e3f3 XER support 2004-09-22 16:06:28 +00:00
Lev Walkin 188ed2c714 inner structures tagging fix. see 0.9.5 comment in ChangeLog 2004-09-13 08:31:01 +00:00
Lev Walkin 906654e1d7 refactored tagging support 2004-09-10 15:49:15 +00:00
Lev Walkin 4ce78cae9e avoided compilation warnings on gcc 3.3.x systems 2004-08-25 01:34:11 +00:00
Lev Walkin 3251b8e9ff printing zeroes in arcs 2004-08-23 09:23:02 +00:00
Lev Walkin 16835b66d4 better constraint failure reporting 2004-08-22 13:47:59 +00:00
Lev Walkin 449f8324e9 new constraints model 2004-08-20 13:23:42 +00:00