From 772420322deb14b2ff9b283ff9905b30e6101967 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 22 Nov 2014 09:01:36 +0000 Subject: 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 --- sys-utils/lscpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/lscpu.c') diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index c272dc238..2a5032517 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__( -- cgit v1.2.3-55-g7522