Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MSAN] Enable memory sanitizer build #8094

Merged
merged 2 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion projects/cras/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
cd ${SRC}/adhd/cras
./git_prepare.sh
mkdir -p ${WORK}/build && cd ${WORK}/build
export CARGO_BUILD_TARGET="x86_64-unknown-linux-gnu"
CFLAGS="${CFLAGS} -DHAVE_FUZZER" ${SRC}/adhd/cras/configure --disable-featured
make -j$(nproc)
cp ${WORK}/build/src/server/rust/target/release/libcras_rust.a /usr/local/lib
cp ${WORK}/build/src/server/rust/target/${CARGO_BUILD_TARGET}/release/libcras_rust.a /usr/local/lib

CRAS_FUZZERS="rclient_message cras_hfp_slc cras_fl_media_fuzzer"

Expand Down
7 changes: 6 additions & 1 deletion projects/cras/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ auto_ccs:
- "[email protected]"
- "[email protected]"
- "[email protected]"
builds_per_day: 2
- "[email protected]"
sanitizers:
- address
- memory
- undefined
builds_per_day: 4
main_repo: 'https://chromium.googlesource.com/chromiumos/third_party/adhd'