Skip to content
  1. Oct 02, 2019
  2. Jul 31, 2019
  3. Mar 12, 2019
    • Vitaly Buka's avatar
      SanitizerCommon: fixes for unwinding & backtrace on SPARC · 2a3de8f4
      Vitaly Buka authored
      Summary:
      This patch contains various fixes for the unwinding and backtrace machinery on the SPARC, which doesn't work correctly in various cases.  It was tested with GCC on SPARC/Solaris and SPARC/Linux.
      
      Patch by Eric Botcazou.
      
      Reviewers: #sanitizers, vitalybuka
      
      Reviewed By: #sanitizers, vitalybuka
      
      Subscribers: jrtc27, delcypher, vitalybuka, ro, jyknight, kubamracek, fedor.sergeev, jdoerfert, llvm-commits, #sanitizers
      
      Tags: #sanitizers, #llvm
      
      Differential Revision: https://reviews.llvm.org/D58431
      
      llvm-svn: 355965
      2a3de8f4
  4. Feb 23, 2019
  5. Feb 22, 2019
  6. Jan 19, 2019
    • Chandler Carruth's avatar
      Update the file headers across all of the LLVM projects in the monorepo · 2946cd70
      Chandler Carruth authored
      to reflect the new license.
      
      We understand that people may be surprised that we're moving the header
      entirely to discuss the new license. We checked this carefully with the
      Foundation's lawyer and we believe this is the correct approach.
      
      Essentially, all code in the project is now made available by the LLVM
      project under our new license, so you will see that the license headers
      include that license only. Some of our contributors have contributed
      code under our old license, and accordingly, we have retained a copy of
      our old license notice in the top-level files in each project and
      repository.
      
      llvm-svn: 351636
      2946cd70
  7. Oct 30, 2018
  8. May 07, 2018
  9. Dec 14, 2017
    • Kamil Rytarowski's avatar
      [Sanitizers] Basic sanitizer Solaris support (PR 33274) · 271018d2
      Kamil Rytarowski authored
      Summary:
      This is the first mostly working version of the Sanitizer port to 32-bit Solaris/x86.
      It is currently based on Solaris 11.4 Beta.
      
      This part was initially developed inside libsanitizer in the GCC tree and should apply to
      both.  Subsequent parts will address changes to clang, the compiler-rt build system
      and testsuite.
      
      I'm not yet sure what the right patch granularity is: if it's profitable to split the patch
      up, I'd like to get guidance on how to do so.
      
      Most of the changes are probably straightforward with a few exceptions:
      
      * The Solaris syscall interface isn't stable, undocumented and can change within an
        OS release.  The stable interface is the libc interface, which I'm using here, if possible
        using the internal _-prefixed names.
      
      * While the patch primarily target 32-bit x86, I've left a few sparc changes in.  They
        cannot currently be used with clang due to a backend limitation, but have worked
        fine inside the gcc tree.
      
      * Some functions (e.g. largefile versions of functions like open64) only exist in 32-bit
        Solaris, so I've introduced a separate SANITIZER_SOLARIS32 to check for that.
      
      The patch (with the subsequent ones to be submitted shortly) was tested
      on i386-pc-solaris2.11.  Only a few failures remain, some of them analyzed, some
      still TBD:
      
          AddressSanitizer-i386-sunos :: TestCases/Posix/concurrent_overflow.cc
          AddressSanitizer-i386-sunos :: TestCases/init-order-atexit.cc
          AddressSanitizer-i386-sunos :: TestCases/log-path_test.cc
          AddressSanitizer-i386-sunos :: TestCases/malloc-no-intercept.c
          AddressSanitizer-i386-sunos-dynamic :: TestCases/Posix/concurrent_overflow.cc
          AddressSanitizer-i386-sunos-dynamic :: TestCases/Posix/start-deactivated.cc
          AddressSanitizer-i386-sunos-dynamic :: TestCases/default_options.cc
          AddressSanitizer-i386-sunos-dynamic :: TestCases/init-order-atexit.cc
          AddressSanitizer-i386-sunos-dynamic :: TestCases/log-path_test.cc
          AddressSanitizer-i386-sunos-dynamic :: TestCases/malloc-no-intercept.c
      
         SanitizerCommon-Unit :: ./Sanitizer-i386-Test/MemoryMappingLayout.DumpListOfModules
          SanitizerCommon-Unit :: ./Sanitizer-i386-Test/SanitizerCommon.PthreadDestructorIterations
      
      Maybe this is good enough the get the ball rolling.
      
      Reviewers: kcc, alekseyshl
      
      Reviewed By: alekseyshl
      
      Subscribers: srhines, jyknight, kubamracek, krytarowski, fedor.sergeev, llvm-commits, #sanitizers
      
      Tags: #sanitizers
      
      Differential Revision: https://reviews.llvm.org/D40898
      
      llvm-svn: 320740
      271018d2
  10. Aug 05, 2017
    • Kamil Rytarowski's avatar
      Add NetBSD support in sanitizer_unwind_linux_libcdep.cc · 4c69d68e
      Kamil Rytarowski authored
      Summary:
      NetBSD is a POSIX-like and BSD-family system.
      
      Reuse FreeBSD and Linux code.
      
      NetBSD uses DWARF ExceptionHandler.
      
      Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas.
      
      Sponsored by <The NetBSD Foundation>
      
      Reviewers: joerg, kcc, filcab, vitalybuka
      
      Reviewed By: vitalybuka
      
      Subscribers: srhines, emaste, llvm-commits, kubamracek, aprantl, #sanitizers
      
      Tags: #sanitizers
      
      Differential Revision: https://reviews.llvm.org/D36314
      
      llvm-svn: 310179
      4c69d68e
  11. Jun 28, 2016
  12. Jun 27, 2016
  13. May 11, 2016
    • Evgeniy Stepanov's avatar
      [asan] Don't use libcorkscrew on Android L+. · 556e963e
      Evgeniy Stepanov authored
      ASan runtime library used libcorkscrew from Android platform for
      stack unwinding. Since Android L, this is both unnecessary (the
      libgcc unwinder has been fixed) and impossible (the library is not
      there any more). Don't even try.
      
      This should have not effect on modern Android devices other than
      removing a message about failing to open the library with
      ASAN_OPTIONS=verbosity=1.
      
      llvm-svn: 269233
      556e963e
  14. Jun 24, 2015
  15. Jun 23, 2015
  16. Jan 22, 2015
  17. Nov 14, 2014
  18. Nov 07, 2014
  19. Oct 26, 2014
    • Alexey Samsonov's avatar
      [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and · 9c859270
      Alexey Samsonov authored
      introduce a BufferedStackTrace class, which owns this array.
      
      Summary:
      This change splits __sanitizer::StackTrace class into a lightweight
      __sanitizer::StackTrace, which doesn't own array of PCs, and BufferedStackTrace,
      which owns it. This would allow us to simplify the interface of StackDepot,
      and eventually merge __sanitizer::StackTrace with __tsan::StackTrace.
      
      Test Plan: regression test suite.
      
      Reviewers: kcc, dvyukov
      
      Reviewed By: dvyukov
      
      Subscribers: llvm-commits
      
      Differential Revision: http://reviews.llvm.org/D5985
      
      llvm-svn: 220635
      9c859270
  20. Sep 01, 2014
Loading