DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Subject: [dpdk-dev] Enable address sanitizer in DPDK test infrastructure?
Date: Thu, 2 Jul 2020 08:31:23 -0700	[thread overview]
Message-ID: <20200702083123.77d73ce8@hermes.lan> (raw)

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.

                 reply	other threads:[~2020-07-02 15:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200702083123.77d73ce8@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).