tree: ce1d673486b2e50449f6a541fead3cf30f9f0500 [path history] [tgz]
  1. amd64/
  2. arm/
  3. arm64/
  4. x86/
  5. make.defaults
  6. parent
  7. README.md
profiles/features/sanitizers/msan/README.md

Chrome OS memory sanitizer build profile

This directory contains the changes needed to build a board's packages with memory sanitizer.

Building a board with memory sanitizer

To build packages with memory sanitizer (msan) for a board, create a profile in the overlays and point its parent to the appropriate architecture here. For example, to add an msan profile for eve:

$ mkdir -p overlays/overlay-eve/profiles/msan
$ printf "../base\nchromiumos:features/sanitizers/msan/amd64\n" > \
    overlays/overlay-eve/profiles/msan/parent

A private profile may be needed as well.

$ mkdir -p private-overlays/overlay-eve-private/profiles/msan
$ printf "../base\neve:msan\n" > \
    private-overlays/overlay-eve-private/profiles/msan/parent

To build the eve board with msan profile, do:

$ setup_board --board=eve --profile=msan
$ build_packages --board=eve