> Ben, the Address Sanitizer integration sounds very interesting, if you > could share your WIP patches that would be great!
Here it is: https://gerrit.fd.io/r/c/vpp/+/21937 Quick how-to from VPP source directory: ~# git review -d 21937 ~# make -C build-root PLATFORM=vpp TAG=vpp_sanitize vpp-install CC=gcc-9 ~# ASAN_OPTIONS=verify_asan_link_order=0:detect_leaks=0:abort_on_error=1 gdb --args $PWD/build-root/install-vpp_sanitize-native/vpp/bin/vpp "unix { interactive } plugins { plugin dpdk_plugin.so { disable } }" It only supports gcc-8+ for now, and currently only the heap (including vectors & pool) is annotated, but it already catches bugs sometime (that I slowly push). We miss bihash and buffer pool support at least, and shared memory heap annotations is a bit flaky right now. Also, it should not be too hard to clang support in addition to gcc. I am still trying to find an elegant way to have it merge someday, as it is quite invasive right now :/ Let me know how it goes. ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13932): https://lists.fd.io/g/vpp-dev/message/13932 Mute This Topic: https://lists.fd.io/mt/34077527/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-