Skip to content

Error running address sanitizer on basic input #477

Open
@caymaynard

Description

@caymaynard

OS: windows 11
mingw-llvm: 19.1.7 with UCRT

Similar to llvm/llvm-project#82450, I have been encountering an error when running address sanitizer.

main.c:

int main(int argc, char **argv) {}

compiled with clang -fsanitize=address main.c

Unlike the previous issue though, I get a different unhandled instruction

==17396==interception_win: unhandled instruction at 0x7ffb63223a40: 44 0f b6 1a 4c 8b d2 48
==17396==interception_win: unhandled instruction at 0x7ffb63223a40: 44 0f b6 1a 4c 8b d2 48

CMIIW, but it looks like this instruction is supposed to be handled by ASAN in https://github.com/llvm/llvm-project/blob/b8cdc5ea2741c7e4062bb211bac7033189b4d802/compiler-rt/lib/interception/interception_win.cpp#L905

Is there some macro definition which is required to correctly interpret the instruction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions