DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Enable address sanitizer in DPDK test infrastructure?
@ 2020-07-02 15:31 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2020-07-02 15:31 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-02 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 15:31 [dpdk-dev] Enable address sanitizer in DPDK test infrastructure? Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).