Skip to content

Run tests with ASAN_OPTIONS=verify_asan_link_order=false (or also preload the sanitizer) when LD_PRELOAD'ing a library #16126

Description

@3v1n0

Describe the bug
When running with address sanitizer any pre-loaded library is not supported, unless asan/ubsan libraries are also pre-loaded before anything else.

Expected behavior

This is kinda related to #13249 and it's triggered by this GLib change.

Ideally we want meson to automatically fill ASAN_OPTIONS or to ensure the correct sanitizer library is pre-loaded before anything else when a sanitizer build is configured

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