Commit Graph

453 Commits

Author SHA1 Message Date
Johannes Lode 9925dbbda8 Improve test coverage by using stderr output in test evaluation of parser and AST testing. 2021-04-17 15:08:07 -07:00
Lev Walkin 46b394dd3e Follow-up to #379 2020-07-06 23:43:55 -07:00
Lev Walkin 6495ca558e Fix XER decoder of INTEGER, Issue #344.
In some cases an INTEGER overflow during parsing is not detected
    and incorrect value is returned to the decoder instead of an error.
    Reported by Nika Pona <npona@digamma.ai>.
    (Severity: low; Seuciry impact: medium).
2019-08-10 20:09:25 -07:00
Russ Kubik 3ce07b9e69 restore test 2019-01-27 18:37:28 -08:00
Russ Kubik 94d87940c8 Increase GeneralizedTime fractional second precision to 9 digits 2019-01-27 18:37:28 -08:00
Lev Walkin 8e1d7591ab better test diagnostics 2019-01-21 17:00:36 -08:00
Jon Ringle 3016fd59fe Rename Makefile.am.example => converter-example.mk
The generated Makefile.am.example is not really in the automake style.
Renaming it to converter-example.mk to reflect that it is a plain makefile
snippet and that it is for creating the converter-example
2017-11-17 20:54:02 -08:00
Jon Ringle 7871abf7ef Rename ASN_MODULE_{SOURCES,HEADERS} => ASN_MODULE_{SRCS,HDRS} 2017-11-17 20:54:02 -08:00
Lev Walkin e7bd48aa5e better cleanup 2017-11-13 23:12:49 -08:00
Lev Walkin 7d5d930393 more precise OER and PER code bundling 2017-11-13 22:17:20 -08:00
Lev Walkin 30566d1310 add asn1c compile smoke test 2017-11-12 15:28:17 -08:00
Lev Walkin d1c28aa809 generate OER and PER by default. add -no-gen-example 2017-11-11 18:05:13 -08:00
Jon Ringle 3bcab4ebfa Add test case for issue #178 2017-11-05 21:55:15 -08:00
Lev Walkin 8baaf6b0d2 fix randomized failures on fast enough systems 2017-11-05 21:39:58 -08:00
Lev Walkin ce2068a507 fix builddir 2017-11-05 21:08:57 -08:00
Lev Walkin c9b2f28b98 replace incompatible awk with C 2017-11-05 20:32:15 -08:00
Lev Walkin f22184d31c force recompile T object 2017-10-27 18:40:32 -07:00
Lev Walkin 1351752f8d fixed non-trivial SIZE constraints for SET OF and SEQUENCE OF, fuzz-tested 2017-10-26 00:38:43 -07:00
Lev Walkin 6fd84337a5 avoid failing on something that is considered compression bomb 2017-10-24 03:54:23 -07:00
Bi-Ruei, Chiu 2387ff39ae Modify test 156 for verifying pull request 224 and 227 simultaneously 2017-10-24 03:31:59 -07:00
Lev Walkin 52b88e1b54 uper and oer SET OF and SEQUENCE OF verified 2017-10-24 03:03:46 -07:00
Lev Walkin e5f0d94aa9 preserve rmax for fuzzer 2017-10-24 00:59:32 -07:00
Lev Walkin 9175a28a5a deprecate EMIT_ASN_DEBUG, move under ASN_ namespace 2017-10-24 00:58:42 -07:00
Lev Walkin 5615304c9a api change uper_encode() 2017-10-24 00:47:03 -07:00
Lev Walkin cb59ce69a8 library name change 2017-10-24 00:05:11 -07:00
Lev Walkin df2edbbd15 regenerated 2017-10-21 13:40:07 -07:00
Lev Walkin d2a7360685 bound the size of SEQUENCE OF and SET OF random generator 2017-10-21 13:14:51 -07:00
Lev Walkin 3c37385d29 fix OER comparison API 2017-10-21 01:09:13 -07:00
Lev Walkin 836686167d fix after UPER round-trip fuzz 2017-10-21 00:24:31 -07:00
Lev Walkin ba2c5727d0 more debug 2017-10-20 23:09:45 -07:00
Lev Walkin 1418d985cb verify unusual PER canonical order 2017-10-20 17:27:29 -07:00
Bi-Ruei, Chiu bc6ef1f98a Add two tests in tests-asn1c-compiler directory 2017-10-20 17:15:57 -07:00
Bi-Ruei, Chiu e460c3b7a3 Fix error during 'make check' 2017-10-20 17:15:57 -07:00
Lev Walkin 4e5edcf063 temporarily mask unfinished tests 2017-10-20 04:28:20 -07:00
Lev Walkin 6bc5696f52 fix consrtaint propagation for random_fill 2017-10-20 04:19:37 -07:00
Lev Walkin 42f6c88018 fix OER NULL and SEQUENCE extensions round-trip 2017-10-20 03:22:51 -07:00
Lev Walkin a460cbd13e verify ASN.1 syntax prior to a lengthy run through a bundle 2017-10-20 02:18:04 -07:00
Lev Walkin 312e3e0f96 remove gcc compiler warnings 2017-10-19 03:49:50 -07:00
Lev Walkin 435469ec33 remove gcc compiler warnings 2017-10-19 03:39:32 -07:00
Lev Walkin b1f4f33ae6 remove gcc-7 compiler warnings 2017-10-19 03:28:49 -07:00
Lev Walkin 48e82d1f1f removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
Lev Walkin bc09dd4845 generate constraints differently to avoid warnings 2017-10-19 02:16:35 -07:00
Vasil Velichkov d346ffd810 Initialize _asn_ctx in the tests 2017-10-18 23:32:47 -07:00
Vasil Velichkov 72b104470e Fix several sign-compare errors in the tests 2017-10-18 23:32:47 -07:00
Lev Walkin b37ee63992 regenerated 2017-10-18 16:52:18 -07:00
Lev Walkin 1bde6d4d7a remove warnings 2017-10-18 16:49:27 -07:00
Lev Walkin 61b4be0e4c bc -> expr 2017-10-18 16:37:51 -07:00
Lev Walkin 623986ac6a fix tag overlap in CHOICE test 2017-10-17 21:36:04 -07:00
Lev Walkin 20696a4ff3 constness fixes, round-trip and fuzz-testing for CHOICE 2017-10-17 21:27:55 -07:00
Lev Walkin f585ad62b5 print XER as well 2017-10-17 21:10:13 -07:00