[dpdk-dev] [PATCH v2] Enable AddressSanitizer feature on DPDK
Peng, ZhihongX
zhihongx.peng at intel.com
Sat Sep 18 08:36:21 CEST 2021
> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Friday, September 17, 2021 10:59 PM
> To: Peng, ZhihongX <zhihongx.peng at intel.com>
> Cc: David Marchand <david.marchand at redhat.com>; Burakov, Anatoly
> <anatoly.burakov at intel.com>; Ananyev, Konstantin
> <konstantin.ananyev at intel.com>; dev <dev at dpdk.org>; Lin, Xueqin
> <xueqin.lin at intel.com>
> Subject: Re: [dpdk-dev] [PATCH v2] Enable AddressSanitizer feature on DPDK
>
> On Fri, 17 Sep 2021 09:12:07 +0000
> "Peng, ZhihongX" <zhihongx.peng at intel.com> wrote:
>
> > > > By referring to its implementation algorithm
> > > > (https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorit
> > > > hm), enable heap-buffer-overflow and use-after-free functions on
> > > > dpdk.
> > > > DPDK ASAN function currently only supports on Linux x86_64.
>
> We are using ASAN on Arm64 without problems, don't know why the patch
> shouldn't work there as well.
Google asan cannot support DPDK heap memory detection. This patch adapts to
google asan so that it can check DPDK heap memory bugs. For each platform,
it is necessary to adapt the base address and do a lot of testing. We don't
have an arm platform here, so we didn't adapt it.
Peng, ZhihongX
More information about the dev
mailing list