Re: [dpdk-dev] [PATCH v9 1/3] Enable ASan for memory detector on DPDK

2021-10-14 Thread Peng, ZhihongX
> -Original Message- > From: David Marchand > Sent: Thursday, October 14, 2021 12:45 AM > To: Peng, ZhihongX > Cc: Burakov, Anatoly ; Ananyev, Konstantin > ; Stephen Hemminger > ; dev ; Lin, Xueqin > ; Richardson, Bruce ; > Thomas Monjalon > Subject: Re: [PATCH v9 1/3] Enable ASan for me

Re: [dpdk-dev] [PATCH v9 1/3] Enable ASan for memory detector on DPDK

2021-10-14 Thread Thomas Monjalon
14/10/2021 08:46, Peng, ZhihongX: > From: David Marchand > > More problematic, linking an external (out of meson) application to a dpdk > > compiled with ASan is broken. > > > > My environment contains following targets compiled using > > ./devtools/test-meson-builds.sh: > > $ ls $HOME/builds/ >

Re: [dpdk-dev] [PATCH v9 1/3] Enable ASan for memory detector on DPDK

2021-10-13 Thread Peng, ZhihongX
> -Original Message- > From: David Marchand > Sent: Thursday, October 14, 2021 12:45 AM > To: Peng, ZhihongX > Cc: Burakov, Anatoly ; Ananyev, Konstantin > ; Stephen Hemminger > ; dev ; Lin, Xueqin > ; Richardson, Bruce ; > Thomas Monjalon > Subject: Re: [PATCH v9 1/3] Enable ASan for me

Re: [dpdk-dev] [PATCH v9 1/3] Enable ASan for memory detector on DPDK

2021-10-13 Thread David Marchand
On Tue, Oct 12, 2021 at 11:54 AM wrote: > > From: Zhihong Peng > > `AddressSanitizer > ` (ASan) > is a widely-used debugging tool to detect memory access errors. > It helps detect issues like use-after-free, various kinds of buffer > ove

[dpdk-dev] [PATCH v9 1/3] Enable ASan for memory detector on DPDK

2021-10-12 Thread zhihongx . peng
From: Zhihong Peng `AddressSanitizer ` (ASan) is a widely-used debugging tool to detect memory access errors. It helps detect issues like use-after-free, various kinds of buffer overruns in C/C++ programs, and other similar errors, as we