Thread (117 messages) 117 messages, 11 authors, 2021-11-03

Re: [dpdk-dev] [PATCH v2] Enable AddressSanitizer feature on DPDK

From: Peng, ZhihongX <hidden>
Date: 2021-09-18 06:36:28

-----Original Message-----
From: Stephen Hemminger <stephen@networkplumber.org>
Sent: Friday, September 17, 2021 10:59 PM
To: Peng, ZhihongX <redacted>
Cc: David Marchand <redacted>; Burakov, Anatoly
[off-list ref]; Ananyev, Konstantin
[off-list ref]; dev [off-list ref]; Lin, Xueqin
[off-list ref]
Subject: Re: [dpdk-dev] [PATCH v2] Enable AddressSanitizer feature on DPDK

On Fri, 17 Sep 2021 09:12:07 +0000
"Peng, ZhihongX" [off-list ref] wrote:
quoted
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help