Changes between Version 2 and Version 3 of ASanWebKit
- Timestamp:
- Apr 3, 2014, 1:04:39 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ASanWebKit
v2 v3 24 24 sudo vi /Applications/Xcode.app/Contents/Developer/Toolchains/ASAN.xctoolchain/ToolchainInfo.plist 25 25 }}} 26 5. Build trunk clang/llvm. The address sanitizer should be built by default for Mac OS X. See http://www.llvm.org/docs/ for details. Subversion revision r204316 of clang/llvm is known to build WebKit for Mac OS X. Newer versions may introduce new warnings or compiler bugs that must be fixed before proceeding. Alternatively, you can download a prebuilt binary from http://commondatastorage.googleapis.com/chromium-browser-clang/index.html?path=Mac/26 5. Build trunk clang/llvm. The address sanitizer should be built by default for Mac OS X. See [http://www.llvm.org/docs/ LLVM Docs] for details. Subversion revision r204316 of clang/llvm is known to build WebKit for Mac OS X. Newer versions may introduce new warnings or compiler bugs that must be fixed before proceeding. Alternatively, you can download a prebuilt binary from the [http://commondatastorage.googleapis.com/chromium-browser-clang/index.html?path=Mac/ Chromium Browser Clang] page. 27 27 6. Ditto the clang/llvm build output into `/Applications/Xcode.app/Contents/Developer/Toolchains/ASAN.xctoolchain` to replace the version of clang/llvm in the original toolchain. 28 28 {{{ … … 49 49 ASAN_OPTIONS="replace_intrin=0:abort_on_error=1:handle_segv=0" ./Tools/Scripts/run-webkit-tests --release --no-build 50 50 }}} 51 11. Please use [https://bugs.webkit.org/enter_bug.cgi?product=Security New WebKit Security Bug] link to file new bugs for crashes with ASan builds.