From nobody Mon Mar 27 20:54:32 2023 X-Original-To: dev-commits-doc-all@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 4PllRr677cz423xj for ; Mon, 27 Mar 2023 20:54:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PllRr5ctXz3QN8; Mon, 27 Mar 2023 20:54:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679950472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BcOZBQcta6DX463rA81/k2RAbNx17WYg2w5pApPHFdU=; b=cneYh0YttXEtj5I9LQ4Un6s2oAMs0OdVi+8sKohPky3v6NxVtk2yHpXQpEUcV5JfOq/NzG 3US+xu6124ki4b1Fp27J7v4f206QO1Z6htGsdJuyOaVJeqxmcE0r0Cw2iAVe2OBVIL1WcF 7HysB7g7/rwq40A5ZRYnBYqkyI0K8i+QdXOR/rvJT+No9VeGs3WXJBPp3dcsK7suakXTdn W+t+KUzWxQDyI/XwVtoxjxe7pd+ypKksQoqzy+I8SgL6Igmq9is5Dn47eNIbMus6E1trDp 7vlaknxqGdiUkVg5XYeeUqWgm19Cg11jbhHfzk52lBWwUJcjKjf+Rhrg5YFSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679950472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BcOZBQcta6DX463rA81/k2RAbNx17WYg2w5pApPHFdU=; b=alPf8EDg2U1jIY3GrfUCHcBeluWZ6QY0MMgZ6NtyzmKjh4NbPSe9JxGqHuwX/hUnhGjqZp N0TC0H9O8DYX6oMYVK3kJZqWH7ONPJZYnygnQcD/8bJInS/+lqT8e92cTAIQ3LB3BVbPZ6 aMIiGC1hjHBjvefd6sDuTnmltLDLXoeJ4g0F7HCf7R3r+1qrfmMn551UffRhWwMptYvcFW I6rxI7as0fW5a48L8mAsj7WkYbV0myUZgNsQwGFfc/+aZx0ojzLOE3yZoUS3t90Grg86c/ w0B4yxa5gttSfrvbYM0RD1xE7UUg7Bnl/1c4XKSYCMHgkW3++as/tfAbpFogMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679950472; a=rsa-sha256; cv=none; b=CIRJsovXwsHJl9qWUVjBQdW560Y5kR2np3wivxZaGUcMhcbp6Xm5j/Vl8EbjFQ9FfxOfC5 bh2qmPbxqKsRDGPhONSF1kSH7btVQvKDMIuoFfe0V+DUGKBYgueBocSg4Wk8y+L+7wV9Ar koHDUHoMPnm7LfoNF95R8GQe3XAw6OlYQ/mqeJpPR1EgvZZHykI08HNq3jdY4wPb2KNMkS KzGY+xHxn/z7xxkiZ6OMJtqllCjtrlrgrGfXpYXjd5yD9REpYzWnWlYrwjaeRfETEZgXhC LNLpH8UwkQ6opuebJ6FPezivP+OHYwmSt9R8z6urgrx3eliWmz7/s8c323Dnow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PllRr4hTVzcXF; Mon, 27 Mar 2023 20:54:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32RKsWFJ099439; Mon, 27 Mar 2023 20:54:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32RKsW7f099438; Mon, 27 Mar 2023 20:54:32 GMT (envelope-from git) Date: Mon, 27 Mar 2023 20:54:32 GMT Message-Id: <202303272054.32RKsW7f099438@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: be86256cba - main - Status/2023Q1/aarch64-kasan.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: be86256cba5a9796c709f3b34ba9a103cff17c6b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=be86256cba5a9796c709f3b34ba9a103cff17c6b commit be86256cba5a9796c709f3b34ba9a103cff17c6b Author: Kyle Evans AuthorDate: 2023-03-27 20:50:31 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-03-27 20:54:17 +0000 Status/2023Q1/aarch64-kasan.adoc: Add report Reviewed by: status (Pau Amma + +Sanitizers are bug detection facilities which use a combination of instrumentation inserted by the compiler (LLVM in this case) and runtime state tracking to detect bugs in C code. +They can automatically detect many types of C programming bugs, such as use-after-frees and uses of uninitialized variables, which may otherwise require substantial effort to identify. +They are particularly effective in combination with regression testing suites or fuzzing tools such as link:https://github.com/google/syzkaller[syzkaller]. +Unlike tools such as Valgrind, software must be recompiled to enable a given sanitizer, but sanitizers can be used in the kernel. +Kernels with sanitizers enabled incur a significant performance overhead from the runtime, in both CPU utilization and memory usage. + +As of gitref:89c52f9d59fa[repository=src], the kernel address sanitizer that was previously exclusive to amd64 has now been ported to arm64. + +Prior testing has been done on a decent variety of machines, including: + +- Various Ampere Altra machines +- QEMU +- Microsoft's "Volterra" Devkit +- BHyve (WIP) + +Further testing on other hardware would be both welcomed and appreciated. + +Sponsor: Juniper Networks, Inc. + +Sponsor: Klara, Inc.