From: Tom Rini Date: Thu, 23 Jun 2022 18:24:24 +0000 (-0400) Subject: Merge branch '2022-06-23-fuzzing-and-asan-for-sandbox' into next X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=3e00721b3b8fed05a99cfcde5b4fdc210f0b33ab;p=u-boot.git Merge branch '2022-06-23-fuzzing-and-asan-for-sandbox' into next To quote the author: This series introduces ASAN and a basic fuzzing infrastructure that works with sandbox. The example fuzz test towards the end of the series will find something pretty quickly. That something is fixed by the series "virtio: Harden and test vring" that needs to be applied for the final patch in this series. There is some refactoring to stop using '.' prefixed sections. ELF defines sections with names that contain anything that isn't alphanumeric or an underscore as being for system use which means clang's ASAN instrumentation happily add redzones between the contained objects. That's not what we want for things like linker lists where the linker script has carefully placed the sections contiguously. By renaming the sections, clang sees them as user sections and doesn't add instrumentation. ASAN is left disabled by default as there are still some tests that it triggers on and will need some more investigation to fix. It can be enabled with CONFIG_ASAN or passing `-a ASAN` to buildman. --- 3e00721b3b8fed05a99cfcde5b4fdc210f0b33ab