Lev Walkin
6bc5696f52
fix consrtaint propagation for random_fill
2017-10-20 04:19:37 -07:00
Lev Walkin
d14802fa0f
fix OER SEQUENCE decode memory leak
2017-10-20 03:51:21 -07:00
Lev Walkin
9d328eec0a
use oer guara
2017-10-20 03:51:21 -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
130cffe9a9
add options to readme
2017-10-19 04:18:12 -07:00
Lev Walkin
312e3e0f96
remove gcc compiler warnings
2017-10-19 03:49:50 -07:00
Lev Walkin
1d2a6e8b3f
allow fully default flags for distcheck
2017-10-19 03:45:21 -07:00
Lev Walkin
435469ec33
remove gcc compiler warnings
2017-10-19 03:39:32 -07:00
Lev Walkin
c547661e3c
no default 32-bit test on travis, no 32-bit libasan there
2017-10-19 03:36:09 -07:00
Lev Walkin
b1f4f33ae6
remove gcc-7 compiler warnings
2017-10-19 03:28:49 -07:00
Lev Walkin
0afbd325f3
detect leak detector in runtime
2017-10-19 03:21:21 -07:00
Lev Walkin
48e82d1f1f
removed gcc-7 warnings
2017-10-19 03:07:27 -07:00
Lev Walkin
b2d896e4d9
verify that undefined sanitizer can be linked in
2017-10-19 09:50:20 +00:00
Lev Walkin
bc09dd4845
generate constraints differently to avoid warnings
2017-10-19 02:16:35 -07:00
Lev Walkin
4bd9eaf7e1
force use variable
2017-10-19 01:16:42 -07:00
Lev Walkin
0a3bf61d0d
do not --enable-test-32bit by default
2017-10-19 00:34:47 -07:00
Lev Walkin
1fef87a46f
linkability check for ASAN and UBSAN
2017-10-19 00:25:18 -07:00
Lev Walkin
03531df897
stronger detection of fuzzing infrastructure (linkability)
2017-10-19 00:25:18 -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
Vasil Velichkov
97656bdd11
Initialize ret in safe_printf(...)
...
../../libasn1print/asn1print.c:59:5: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
c8bc573f06
Fix another sign-compare error in oer_support.c
...
oer_support.c:66:24: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
3d3af67a37
Run check and distcheck in separate travis builds
2017-10-18 23:32:47 -07:00
Vasil Velichkov
51612b2361
Do not tail the distcheck output
...
From Travis logs:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
2017-10-18 23:32:47 -07:00
Vasil Velichkov
3875d507d9
Switch uint8_t to size_t as len_len's type
2017-10-18 23:32:47 -07:00
Vasil Velichkov
e56f4b24d4
Fix one sign-compare error in OCTET_STRING.c
...
OCTET_STRING.c:1896:46: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
e60e6f225a
Fix sign-compare error in oer_support
...
oer_support.c:38:22: error: comparison between signed and unsigned integer expressions [-Werror=s
2017-10-18 23:32:47 -07:00
Vasil Velichkov
c3e0019b56
Fix sign-compare error in constr_SEQUENCE.c
...
constr_SEQUENCE.c:1438:24: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
39ab82f36d
Fix two strict-aliasing errors
...
NativeReal.c:366:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
NativeReal.c:370:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
6aac1c3c16
Fix sign-compare errors
...
BIT_STRING.c:494:45: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
BIT_STRING.c:580:46: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
2017-10-18 23:32:47 -07:00
Vasil Velichkov
12e91c9d3f
Disable -Wformat errors when compiling skeletongs
...
error: ISO C90 does not support the ‘z’ gnu_printf length modifier
2017-10-18 23:32:47 -07:00
Vasil Velichkov
6cec1afb4e
Install gcc-multilib in travis
...
This fixes the following error
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
2017-10-18 23:32:47 -07:00
Vasil Velichkov
d06dc0920b
Do not ignore the test errors in travis
...
From `man bash`
The return status of a pipeline is the exit status of the last command, unless the pipefail option is enabled. If pipefail is enabled, the
pipeline's return status is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit success‐
fully.
- Do not tail the check output as the test log is now written in
test-suit.log files
- On failure display the whole content of every test-suite.log file found
in the build directory and exit with 1
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
1c0ce5e1d1
unused arg
2017-10-18 16:42:58 -07:00
Lev Walkin
61b4be0e4c
bc -> expr
2017-10-18 16:37:51 -07:00
Lev Walkin
19e12b5597
signedness fix
2017-10-18 16:30:05 -07:00
Lev Walkin
249fd26063
add --disable-test-32bit
2017-10-18 10:05:26 -07:00
Lev Walkin
0b56b22ca5
fix default value cmp/set order
2017-10-18 00:40:32 -07:00
Lev Walkin
04ca1b5293
typo fix
2017-10-18 00:27:35 -07:00
Lev Walkin
af51eafe31
fix: encode effective integer
2017-10-18 00:26:37 -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
37231fb195
forward and backward canonical map for CHOICE
2017-10-17 21:24:34 -07:00
Lev Walkin
f585ad62b5
print XER as well
2017-10-17 21:10:13 -07:00
Lev Walkin
f918398e77
description of tests-randomized
2017-10-17 18:59:21 -07:00
Lev Walkin
5754545305
link skeletons instead of copy
2017-10-17 18:37:42 -07:00
Lev Walkin
312795a24c
OER CHOICE extensions support + fuzzing
2017-10-17 15:48:34 -07:00