[dpdk-dev] Enable address sanitizer in DPDK test infrastructure?

Stephen Hemminger stephen at networkplumber.org
Thu Jul 2 17:31:23 CEST 2020


Would it be possible to change the CI bot to build and run DPDK with
address sanitizer? It is great at finding out of bounds accesses
and memory leaks.

Simplest way is just building with
EXTRA_CFLAGS="-O -ggdb -ggdb -fsanitize=address -fno-omit-frame-pointer"

This works on clang/gcc and Windows.


More information about the dev mailing list