wiki:ASanWebKit

Building WebKit with Clang Address Sanitizer (ASan)

This page describes how to build WebKit with the clang Address Sanitizer (ASan) for various ports.

Building the Apple Mac OS X port with ASan (Mac OS X 10.11 El Capitan and later)

To build with Xcode for 10.11, you simply pass in the --asan switch to set-webkit-configuration, then build. Note that you can include ASan support with either --release or --debug switches.

./Tools/Scripts/set-webkit-configuration --release --asan
./Tools/Scripts/build-webkit

To disable ASan builds once again, use the --no-asan switch with set-webkit-configuration.

Last modified 17 months ago Last modified on Jun 22, 2018 4:42:49 PM