microsoft / compiler-rt Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================
I have built my dll in release(with pdb) with asan and copied it to windows server 2016 1607. Also copied
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\bin\Hostx86\x64\clang_rt.asan_dynamic-x86_64.dll to the app folder and launched the app. But get the below exceptions when attached to windbg. Continuing execution throws access violation in another callstack. It continues to throw the exception until app exit. Does not show any asan ERROR report.
(1cbc.1a50): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
clang_rt_asan_dynamic_x86_64!__asan::QuickCheckForUnpoisonedRegion+0x1f:
00007ffe`62b6145f 460fb61408 movzx r10d,byte ptr [rax+r9] ds:000011ed`1639f000=??
(1cbc.1a50): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
clang_rt_asan_dynamic_x86_64!_asan_region_is_poisoned+0x90:
00007ffe`62b76d60 420fb60401 movzx eax,byte ptr [rcx+r8] ds:0000043a`f488c000=??
(1cbc.1a50): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
clang_rt_asan_dynamic_x86_64!__asan::QuickCheckForUnpoisonedRegion+0x8e:
00007ffe`62b614ce 460fb61408 movzx r10d,byte ptr [rax+r9] ds:0000043a`f4946078=??
clang_rt_asan_dynamic_x86_64!__asan::QuickCheckForUnpoisonedRegion:
00007ffe`62b61440 4c8bc1 mov r8,rcx
00007ffe`62b61443 4885d2 test rdx,rdx
00007ffe`62b61446 7503 jne clang_rt_asan_dynamic_x86_64!__asan::QuickCheckForUnpoisonedRegion+0xb (00007ffe`62b6144b)
00007ffe`62b61448 b001 mov al,1
00007ffe`62b6144a c3 ret
00007ffe`62b6144b 4883fa20 cmp rdx,20h
00007ffe`62b6144f 7769 ja clang_rt_asan_dynamic_x86_64!__asan::QuickCheckForUnpoisonedRegion+0x7a (00007ffe`62b614ba)
00007ffe`62b61451 4c8b0d281bb200 mov r9,qword ptr [clang_rt_asan_dynamic_x86_64!_asan_shadow_memory_dynamic_address (00007ffe`63682f80)]
00007ffe`62b61458 498bc0 mov rax,r8
00007ffe`62b6145b 48c1e803 shr rax,3
00007ffe`62b6145f 460fb61408 movzx r10d,byte ptr [rax+r9]
I built it on VS pro 2022 Version 17.4.4.
Is this a bug in asan or is there some other incompatibility.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.