Skip to content

ci: add ASan coverage for hook-built native assets #369

Description

@HamdaanAliQuatil

The upstream work needed to run hook-built native assets under sanitizer runtimes has landed:

The remaining release dependency is a published package:test version containing dart-lang/test#2708. The change is currently on package:test master under 1.32.0-wip, while the latest published version still predates it.

Once that version is available:

  • add a Linux ASan CI lane using dart test -c cli -p vm-asan;
  • exercise the existing FFI memory-pressure workload through the public API;
  • share the workload with the existing Valgrind target rather than duplicating it;
  • keep the Valgrind lane, since it provides complementary coverage;
  • force native assets to build from source if packaged prebuilts are enabled, so the native code is sanitizer-instrumented.

ASan should be the first lane. MSan and TSan can follow once the ASan job is stable and their runtime behavior has been evaluated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions