llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.22k stars 11.64k forks source link

[compiler-rt] how to use hwasan on x86? #106872

Open trcrsired opened 4 weeks ago

trcrsired commented 4 weeks ago

Can you tell me how to build a linux kernel with hwasan support? Thanks

fmayer commented 2 weeks ago

What are you trying to do exactly? While HWASan can be run on standard x86 in aliasing mode, that configuration is mostly for testing. To run HWASan as intended you will need a CPU that supports one of the upcoming extensions, like Intel LAM