Skip to content

[win/asan] Failing to get instruction size of ucrtbase.dll strstr #125105

Closed
@agudbrand

Description

@agudbrand

Asan reports:

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

Happening on a locally built llvm, compiling with clang++. When I initially built LLVM it wasn't working, but I rebuilt it and it started working, but I needed to rebuild it again and now it no longer works. I am building from this commit and the CMake command used to configure the build files was:

cmake ../../src/llvm -G "Visual Studio 17 2022" -DLLVM_OPTIMIZED_TABLEGEN=ON "-DLLVM_ENABLE_PROJECTS=clang;lld;compiler-rt;clang-tools-extra" -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF  

LLVM was compiled using MSVC 2022 17.12.4. Asan is compiled into the program using -fsanitize=address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler-rt:asanAddress sanitizerplatform:windowsquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions