Commit Graph

388 Commits

Author SHA1 Message Date
Lev Walkin b47d1adac3 moved unber and enber into asn1-tools 2019-01-21 17:00:36 -08:00
Lev Walkin 3eb2703268 format integer value as INTEGER_t 2017-11-20 19:41:23 -08:00
Lev Walkin 840fb8e37b debug origin lines 2017-11-20 19:41:23 -08:00
Lev Walkin 4215c51ca3 add hidden -debug-type-naming option 2017-11-19 23:45:07 -08:00
Lev Walkin 4645db0707 slash-terminate differently 2017-11-18 11:32:07 -08:00
Jon Ringle 3aa33c032e Add -gen-autotools option generates example configure.ac and Makefile.am 2017-11-17 20:54:02 -08:00
Jon Ringle 6431b1c969 Add '-D destdir' option for generated files 2017-11-17 20:54:02 -08:00
Lev Walkin d1c28aa809 generate OER and PER by default. add -no-gen-example 2017-11-11 18:05:13 -08:00
Lev Walkin 48e82d1f1f removed gcc-7 warnings 2017-10-19 03:07:27 -07:00
Lev Walkin 20696a4ff3 constness fixes, round-trip and fuzz-testing for CHOICE 2017-10-17 21:27:55 -07:00
Lev Walkin 588bf0f7dc OBJECT IDENTIFIER and RELATIVE-OID API simplified 2017-10-13 23:51:16 -07:00
Lev Walkin a4f8e94bc1 get rid of alloca() in compiler 2017-10-08 19:28:56 -07:00
Lev Walkin e2bbbf8f1e remove the use of alloca in skeletons 2017-10-08 18:52:37 -07:00
Lev Walkin c7a2101a2e make it compile 2017-09-29 23:14:41 -07:00
Lev Walkin afbf2a9828 add const 2017-09-12 23:30:27 -07:00
Lev Walkin 0c68645c5c updated parsing bnf 2017-09-07 22:59:36 -07:00
Lev Walkin c0e03b946e introduce namespaces 2017-08-22 01:48:23 -07:00
Lev Walkin d9221847e5 add common lib 2017-08-22 01:44:56 -07:00
Lev Walkin 700df493dd reshuffled the tests layout 2017-08-10 14:59:15 -07: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 62d95d2ef4 rm warnings 2017-08-06 23:41:11 -07:00
Lev Walkin da997b1ea1 work in 128-bit integer values while compiling 2017-08-04 01:38:41 -07:00
Bi-Ruei, Chiu 1fa31c9e3e Simplify the logic of accessing codec function for specific TYPE 2017-08-02 14:06:07 -07:00
Lev Walkin c78d04711d fix distcheck 2017-08-02 13:32:24 -07:00
Lev Walkin 6f50a3f737 -print-constraints without -F is useless 2017-08-02 13:32:23 -07:00
Lev Walkin 7e833b6ed4 regeneration is allowed to fail 2017-08-02 13:32:22 -07:00
Lev Walkin 7eac0df3e7 employ XER equivalence check 2017-08-02 13:32:22 -07:00
Lev Walkin 69353a320b test that we ignore size constraints on not-known-multipler character string (utf8string) 2017-08-02 13:32:22 -07:00
Lev Walkin ca84c46db9 test OER for string types round-trip 2017-08-02 13:32:22 -07:00
Lev Walkin af4dfaa12a OER string test 2017-08-02 13:32:21 -07:00
Lev Walkin 2d10756d75 non-existent in 32-bit mode 2017-08-02 13:32:21 -07:00
Lev Walkin 6db40f4c49 check OER in 32-bit and 64-bit modes 2017-08-02 13:32:21 -07:00
Lev Walkin 6cea145da8 first round-trip test working 2017-08-02 13:32:20 -07:00
Lev Walkin 4a06e6a8eb add 135 encode-decode test 2017-08-02 13:32:19 -07:00
Lev Walkin b2284470f9 add OER INTEGER constraint check 2017-08-02 13:32:18 -07:00
Lev Walkin b33425f16b fix OER stubs order 2017-08-02 13:32:18 -07:00
Lev Walkin a7a240e8a1 ignore oer dependencies 2017-08-02 13:32:16 -07:00
Lev Walkin ba68c91b71 empty OER stub generator 2017-08-02 13:32:16 -07:00
Lev Walkin 38b3e23d9d fix bsd make 2017-07-06 14:00:05 +00:00
Lev Walkin c56b566453 refactor autogeneration 2017-07-05 18:16:06 -07:00
Lev Walkin 221ce93307 work with BSD makefiles as well 2017-07-06 00:02:31 +00:00
Bi-Ruei, Chiu c46137bddd Merge velichkov's commit 598e7b45... to mouse07410's asn1c repository
Excerpt from commit log :

  Do not generate coverage data for the test C code
  When compiling tests remove the CODE_COVERAGE_CFLAGS flags from CFLAGS

and also add

  CFLAGS = $(filter-out $(CODE_COVERAGE_CFLAGS), @CFLAGS@)

to 'skeleton/Makefile.am' to avoid compilation error in vlm's repository.
2017-05-08 17:04:38 +08:00
Bi-Ruei, Chiu 3dcf05bbb0 Fix some memory leakage found 2017-05-05 15:03:32 +08:00
Lev Walkin fa40976f4a reflect contributors 2017-03-26 06:37:38 -07:00
Lev Walkin fbbe4edc8e Merge pull request #126 from brchiu/fix_some_leak_reported_by_valgrind
Fix many memory leaks reported by valgrind
2017-03-26 05:55:00 -07:00
Lev Walkin 88271a5d7a Merge branch 'master' into 64bit_test 2017-03-26 05:14:10 -07:00
Vasil Velichkov 3b434ca548 Exclude test files from the code coverage report
Link asn1c/tests with libasn1cskeletons.a in order to improve
skeletons coverage. When the skeleton files are copied the lcov will
report coverage for each copy separatly.
2017-03-26 04:42:26 -07:00
Vasil Velichkov e318759ef2 Add code coverage using lcov and gcov
To generate the code coverage report you need gcov and lcov installed
and then execute

 ./configure --enable-code-coverage
 make check-code-coverage

 Writing directory view page.
 Overall coverage rate:
   lines......: 76.5% (10519 of 13759 lines)
   functions..: 85.5% (491 of 574 functions)
   branches...: 57.5% (7040 of 12250 branches)
 file:///home/user/asn1c/asn1c-0.9.28-coverage/index.html

Open the index.html with a web browser
2017-03-26 04:42:26 -07:00
Lev Walkin 47c8e47506 Merge pull request #104 from velichkov/asn1c_make_identifier_segfault
Fix segmentation fault in asn1c_make_identifier
2017-03-26 04:12:27 -07:00