> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Friday, October 29, 2021 10:51 PM > To: Peng, ZhihongX <zhihongx.p...@intel.com> > Cc: Thomas Monjalon <tho...@monjalon.net>; Burakov, Anatoly > <anatoly.bura...@intel.com>; Ananyev, Konstantin > <konstantin.anan...@intel.com>; Stephen Hemminger > <step...@networkplumber.org>; Dumitrescu, Cristian > <cristian.dumitre...@intel.com>; Mcnamara, John > <john.mcnam...@intel.com>; Richardson, Bruce > <bruce.richard...@intel.com>; dev <dev@dpdk.org>; Lin, Xueqin > <xueqin....@intel.com> > Subject: Re: [PATCH v13 1/4] enable ASan AddressSanitizer > > On Fri, Oct 29, 2021 at 11:21 AM David Marchand > <david.march...@redhat.com> wrote: > > > > Replying on this patch since there is no cover letter. > > > > This series looks acceptable to me for rc2. > > > > Patch 3 and 4 will be merged first, since they fix issues that would > > be hit with ASan enabled. > > > > I have comments mainly on rewording in commitlogs and documentation. > > > > If you are fine with those comments, I'll fix them before pushing this > > series. > > > > Series applied with suggestions.
Really happy that we co-worked and let this interesting tool code merge to DPDK. Thanks a lot David, Thomas, Anatoly, Bruce, John, Hemminger, Konstantin, Cristian... , without your great help and support, we can't let this happen. > > ASan is a really interesting tool, but there are still issues in some > components. > I caught a few and opened bugs. Are they DPDK bugs or this tool code bugs? Have you reported and tracked in bugzalla? Not sure if we captured them, as you know, we used this tool to detect and found lots of DPDK bugs in various of components that static scan tool can't find. Most for the issues have been fixed, really difficult for us because we are not experts on lots of components for DPDK issues fix. The tool already merged, each component owner could detect and fix memory bugs by themselves now. > > We should work on fixing them so that we can have ASan enabled in the CI. > The sooner, the better. Agree, really good idea to use it in CI also, it could help to detect issues that static tool can't find. We also have enabled ASan script code in DTS for the memory detect, next step, we will upload the code. Then CI also could use or reference the code. Thanks. > > > Thanks. > > -- > David Marchand