Coder Social home page Coder Social logo

microsoft / compiler-rt Goto Github PK

View Code? Open in Web Editor NEW
27.0 55.0 21.0 8.54 MB

License: Other

Makefile 0.30% CMake 0.48% C 85.67% C++ 12.51% Shell 0.11% Python 0.24% Objective-C++ 0.04% Assembly 0.51% Objective-C 0.11% CSS 0.01% HTML 0.02% Batchfile 0.01%

compiler-rt's Introduction

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.

================================

compiler-rt's People

Contributors

bob-wilson avatar bogner avatar chandlerc avatar compnerd avatar ddunbar avatar dexonsmith avatar dtzwill avatar dvyukov avatar dwblaikie avatar earthdok avatar eocallaghan avatar eugenis avatar filcab avatar isanbard avatar jayfoad avatar jsonn avatar kcc avatar kubamracek avatar nlewycky avatar pcc avatar ramosian-glider avatar rengolin avatar rnk avatar stephentyrone avatar timurrrr avatar tnorthover avatar v-kutuzov avatar vonosmas avatar zmodem avatar zygoloid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compiler-rt's Issues

access violation in __asan::QuickCheckForUnpoisonedRegion and other functions

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.