The attached patches address the undefined behavior dependence for blowfish, twofish and des, and enable gitlab builds with asan and ubsan.
On Mon, 2016-02-29 at 13:29 +0100, Nikos Mavrogiannopoulos wrote:
Hello, I've now completed enabling the undefined sanitizer for gnutls, and may be a good idea to use it for nettle to. The following patch enables running the test suite of nettle under libasan (to detect any invalid memory accesses/writes), and the undefined sanitizer.
I've run a test build, and the libasan build succeeds but the libubsan builds fail: https://gitlab.com/gnutls/nettle/builds/773956
Its complaints are not that critical for the targetted platforms but may be nice not to rely on undefined behavior.
regards, Nikos