You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running jqtest while I had an UBSAN build, and I noticed this:
Build jq with UBSAN; e.g.
$ make clean
$ ./configure --enable-maintainer-mode --enable-ubsan --enable-asan
$ make -j
Run jqtest (disable valgrind to make it run quicker, and make it work with ASAN):
$ NO_VALGRIND=1 tests/jqtest[...]Test #116: '1 / 1e-17' at line number 555Test #117: '9E999999999, 9999999999E999999990, 1E-999999999, 0.000000001E-999999990' at line number 559Test #118: '5E500000000 > 5E-5000000000, 10000E500000000 > 10000E-5000000000' at line number 566Test #119: '(1e999999999, 10e999999999) > (1e-1147483646, 0.1e-1147483646)' at line number 572src/decNumber/decNumber.c:6257:28: runtime error: signed integer overflow: 2147483645 + 3 can not be represented in type 'int'src/decNumber/decNumber.c:6257:28: runtime error: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int'Test #120: '25 % 7' at line number 579Test #121: '49732 % 472' at line number 583[...]
The text was updated successfully, but these errors were encountered:
I was running
jqtest
while I had anUBSAN
build, and I noticed this:jq
withUBSAN
; e.g.jqtest
(disable valgrind to make it run quicker, and make it work with ASAN):The text was updated successfully, but these errors were encountered: