Commit Graph

63 Commits

Author SHA1 Message Date
Lev Walkin a4f8e94bc1 get rid of alloca() in compiler 2017-10-08 19:28:56 -07:00
Lev Walkin 85d7a1b3d8 32-bit mode compile 2017-10-06 16:35:21 -07:00
Lev Walkin a06b1b4ddf Solaris does not have vasnprintf() 2017-10-05 23:07:22 -07:00
Lev Walkin cb52391432 randomized value testing 2017-09-30 19:33:23 -07:00
Lev Walkin 84556d50b2 avoid failing on CC_ATTR_NO_SANITIZE attribute 2017-09-26 23:13:10 -07:00
Lev Walkin 33897e2ee9 Use ASAN_OPTIONS=detect_leaks=1 if leak sanitizer can be enabled separately 2017-09-26 21:17:49 -07:00
Lev Walkin e0236da7cd ensure undefined behavior sanitizer crashes the programs 2017-09-17 22:15:34 -07:00
Lev Walkin 387a8f01c9 draft fuzzer infrastructure 2017-09-15 23:24:00 -07:00
Lev Walkin 5c600f4c16 add fuzzer detection 2017-09-15 21:57:29 -07:00
Lev Walkin cb4eddbe1c make sanitization default 2017-09-15 19:12:24 -07:00
Lev Walkin 50bf4bac94 remove debug 2017-09-13 16:19:23 -07:00
Lev Walkin 0f5dd34dc3 move flags around 2017-09-13 22:52:39 +00:00
Lev Walkin 56d59b46c0 moved skeletons tests out 2017-08-24 13:54:58 -07:00
Lev Walkin a7d64001d6 using address sanitizer in tests 2017-08-23 22:34:29 -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 63099079dc no warnings 2017-08-06 23:46:26 -07:00
Lev Walkin 62d95d2ef4 rm warnings 2017-08-06 23:41:11 -07:00
Lev Walkin 645d2de9c3 allow c99 for asn1c code base as well (not skeletons though) 2017-08-06 23:30:36 -07:00
Lev Walkin da997b1ea1 work in 128-bit integer values while compiling 2017-08-04 01:38:41 -07:00
Lev Walkin 1d84ea9862 simplify 64 bit test check 2017-08-02 12:40:13 -07:00
Lev Walkin efded512e7 update --enable-code-coverage support 2017-03-26 16:12:11 -07:00
Lev Walkin b2ee65912f get rid of pushes 2017-03-26 05:19:06 -07:00
Lev Walkin 8a2fb9e110 redone check for longer long 2017-03-26 05:13:39 -07:00
Lev Walkin 860de0bc14 Merge pull request #109 from theirix/configure-ar
Locate AR using standard macro
2017-03-26 05:02:12 -07:00
Vasil Velichkov 1144b350f3 When -Wpedantic is not supported try the -pedantic instead
GCC prior to 4.8 does not supprot -Wpedantic.
See https://gcc.gnu.org/gcc-4.8/changes.html

The travis-ci currently builds with gcc-4.6.3

  $ gcc --version
  gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
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 fa9bb6dcfd version bump 2017-03-26 03:48:47 -07:00
theirix b577d4d881 Locate AR using standard macro
- Use AM_PROG_AR to locate AR (debian complains about AC_PATH_PROG)
- Added a fallback for automake < 1.12
- Moved LT_INIT because it depends on AM_* macro
2016-07-30 17:40:17 +03:00
Lev Walkin 619f0cd736 alloca.h is not universally available 2016-07-02 19:55:23 +00:00
Lev Walkin 64dd70cfc1 EMIT_ASN_DEBUG is in skeletons flags 2016-03-14 05:14:07 -07:00
Lev Walkin f379fe3ac9 check-src has its own extra_dist 2016-03-14 04:30:27 -07:00
Lev Walkin 3798f34a8d tests code uses C99 2016-03-14 04:07:45 -07:00
Lev Walkin 9ee77995ba more explicit test spec 2016-03-14 03:46:16 -07:00
Lev Walkin 327bab2b53 run autoupdate 2016-03-14 02:36:27 -07:00
Lev Walkin 104af19d65 pedantic c89 safety 2016-01-24 22:13:27 -08:00
Lev Walkin 9736348c47 remove compiler warnings 2016-01-24 19:23:02 -08:00
Lev Walkin 790b57973c RPM spec is not part of asn1c 2016-01-23 09:43:40 -08:00
Lev Walkin 7e55cac51c modernize distribution a bit 2016-01-23 09:19:17 -08:00
Lev Walkin 47d884c782 removed AM_MAINTAINER_MODE 2016-01-23 06:38:16 -08:00
Lev Walkin c6080fdd93 generate manual pages from Markdown instead of writing directly 2016-01-23 06:35:34 -08:00
Lev Walkin f76132009a split --enable-Werror and --enable-test-Werror 2016-01-10 13:27:18 -08:00
Lev Walkin a1e5b9d3c4 autoreconf-2.69 fix 2015-09-14 12:50:49 -07:00
brchiu f9c7f85041 Update configure.ac
fixing problem found when using autoreconf-2.69
2015-08-01 09:52:42 +08:00
Lev Walkin 271131c9d7 use AS_HELP_STRING for formatting, etc 2015-04-10 00:09:57 -07:00
Lev Walkin 3278995748 merged patch #31 2014-10-12 18:51:52 -07:00
Lev Walkin 1b03c79368 removed autotools intermediate files from source code; use autoreconf -iv. 2014-10-12 17:31:26 -07:00
Lev Walkin 04fbe62bbc check if timegm is present before emulating 2014-09-17 02:27:01 -07:00
Lev Walkin eace46c5db version bump 2014-09-17 02:18:44 -07:00
Lev Walkin 58ecc7b4e3 disable long debug output and implement --enable-ASN_DEBUG to restore old behavior 2014-09-17 00:32:03 -07:00