From nobody Sun Jan 2 08:10:02 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 46968191EBBF for ; Sun, 2 Jan 2022 08:10:05 +0000 (UTC) (envelope-from ricky@rickysquid.org) Received: from mail.rickysquid.org (hwsrv-751118.hostwindsdns.com [IPv6:2607:5501:3000:207d::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRWl03t2Pz3PwJ for ; Sun, 2 Jan 2022 08:10:04 +0000 (UTC) (envelope-from ricky@rickysquid.org) Received: by mail.rickysquid.org (Postfix, from userid 1000) id 53F3B4196E; Sun, 2 Jan 2022 08:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rickysquid.org; s=default; t=1641111002; bh=mON5YbRojmpHuD0zegQpcrlM54b6+WIxUe0CDljUUs8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=gPuoywwtcip8H87FrRY6iolCO1TJmZ1ko86+bw3aHgcADu2CkmEtKm7Lruzn6lKmr gBpGtE/ybiShn9cQspUXrp2xujPHhZnFtqqEniK/tcEMl9oL9T14CGTapaSrRVV+EL H96xCrdu2a+p0Jw8gQYbCUsNibTICCCzUTOR3JKJ2gDQt6W3qZGqxNJL+xjt1xw0sr SAn+rhnorW5lzwA/lwkt4TMd+u0dJwMeXfDaXbIKUG/eVBtWzoX8QboYbfsH2QCgsE JdO1uOb4xoE7uw1MOLKu/UtqohAgo6g1BQevaQNruJZ/NIUJ+Zqdg0uMG5MY2p16Nm A20GnnUOciG6w== Date: Sun, 2 Jan 2022 08:10:02 +0000 From: Eric Gullufsen To: freebsd-hackers@freebsd.org Subject: Re: leak sanitizer support Message-ID: <20220102081002.GA5827@rickysquid.org> References: <20211230201614.z4bsknfgdde7ufwu@mutt-hbsd> <20220102002851.GA32472@rickysquid.org> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220102002851.GA32472@rickysquid.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4JRWl03t2Pz3PwJ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rickysquid.org header.s=default header.b=gPuoywwt; dmarc=pass (policy=none) header.from=rickysquid.org; spf=softfail (mx1.freebsd.org: 2607:5501:3000:207d::2 is neither permitted nor denied by domain of ricky@rickysquid.org) smtp.mailfrom=ricky@rickysquid.org X-Spamd-Result: default: False [2.92 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rickysquid.org:s=default]; FROM_HAS_DN(0.00)[]; HFILTER_HOSTNAME_2(1.00)[hwsrv-751118.hostwindsdns.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.73)[0.729]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[0.995]; DKIM_TRACE(0.00)[rickysquid.org:+]; DMARC_POLICY_ALLOW(0.00)[rickysquid.org,none]; NEURAL_SPAM_LONG(1.00)[1.000]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:54290, ipnet:2607:5501::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Here is patch for the tiny changes for after add Luoqi Chen's implementation of clang lsan for freebsd: https://raw.githubusercontent.com/emgullufsen/freebsd/lsan/lsan-params.diff ^just changed *buffer to InternalMmapVector *buffer, to match declaration Thanks! -Eric Gullufsen