This directory contains a helper script to download ASAN builds of Chromium.
Several command line flags are provided if you want more control over what build is downloaded. The --help
flag provides detailed usage information. Read on for usage examples.
By default, the script detects the operating system of the system on which the script is run and then downloads the most recent ASAN build for that operating system.
vpython3 get_asan_chrome.py
This mode is useful when you want the most recent ASAN build for whatever platform the script runs on, which is typically the case when fuzzing and also when attempting to reproduce a bug report near tip-of-tree.
Sometimes you need the latest ASAN build from a specific channel:
vpython3 get_asan_chrome.py --channel {canary,dev,beta,stable}
Note that not all platforms have all channels. For example, there is no Canary channel for Linux, so use dev
instead.
It can also be useful to get an ASAN build for a specific release:
vpython3 get_asan_chrome.py --version 105.0.5191.2
You can also download a build for an operating system that is different than where the script runs:
vpython3 get_asan_chrome.py --os {linux,mac,win64,cros}
Finally, if you need greater control then some flags can be used together:
vpython3 get_asan_chrome.py --os win64 --version 105.0.5191.2