<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/125105>125105</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [win/asan] Failing to get instruction size of ucrtbase.dll strstr
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          agudbrand
      </td>
    </tr>
</table>

<pre>
    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](https://github.com/llvm/llvm-project/commit/dd3edc8365112c47ea01cc942c8223749d007608) 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`.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUVM2O2zYQfhr6MrBADmVJPuhgW1bqdn-C7GaL9mJQIiWzoUmDpOIkT19QdtEkPRUQRInzffM_I0LQo1WqJqstWTULMcWT87UYJ9l5YeWic_JrvQnCglcX52MgfAOEbkhB7w_dEN4Q3uQ5q_Lbp7ZR-V5donb2eNU2cSZ7ElYaJUHbEP3UJyGICPRLOQzDUPXIRU4TNM-BDtAVwATkPVQdSIS8-snqL-JyUVbbEZIeMK4XxnyFbtImgjGfzwR30LvzRZsEuup4gt4IOxLcEtxm8PtJWTiAtjrq76gPD2-PoCNcRbAEywhX5z_pRNtBN0U4gFc3pI4grExHiMJHJf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