From: Sami Kerola Date: Sat, 22 Nov 2014 09:01:36 +0000 (+0000) Subject: lscpu: blacklist vmware_bdoor() AddressSanitizer check X-Git-Tag: v2.26-rc1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=772420322deb14b2ff9b283ff9905b30e6101967;p=thirdparty%2Futil-linux.git lscpu: blacklist vmware_bdoor() AddressSanitizer check AddressSanitizer is identifying the __asm__ segment as suspicious. ==1215==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004ccffd bp 0x7fff9b7184f0 sp 0x7fff9b7184e0 T0) #0 0x4ccffc in vmware_bdoor /home/src/util-linux/sys-utils/lscpu.c:660 Signed-off-by: Sami Kerola --- diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index c272dc238a..2a5032517f 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -655,7 +655,7 @@ read_hypervisor_powerpc(struct lscpu_desc *desc) #define VMWARE_BDOOR_PORT 0x5658 #define VMWARE_BDOOR_CMD_GETVERSION 10 -static inline +static UL_ASAN_BLACKLIST void vmware_bdoor(uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx) { __asm__(