Skip to content
  1. Mar 12, 2013
  2. Mar 11, 2013
    • Reid Kleckner's avatar
      [msan] intercept dlopen and clear shadow for it · c9d382b5
      Reid Kleckner authored
      Summary:
      The loader does not call mmap() through the PLT because it has to
      bootstrap the process before libc is present.  Hooking dlopen() isn't
      enough either because the loader runs module initializers before
      returning, and they could run arbitrary msan instrumented code.
      
      If msandr is present, then we can intercept the mmaps from dlopen at the
      syscall layer and clear the shadow there.  If msandr is missing, we
      clear the shadow after dlopen() and hope any initializers are trivial.
      
      Reviewers: eugenis
      
      CC: kcc, llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D509
      
      llvm-svn: 176818
      c9d382b5
  3. Mar 06, 2013
  4. Feb 28, 2013
  5. Feb 21, 2013
  6. Feb 19, 2013
  7. Feb 13, 2013
  8. Feb 12, 2013
  9. Feb 11, 2013
  10. Feb 07, 2013
  11. Jan 31, 2013
  12. Jan 30, 2013
  13. Jan 29, 2013
    • Evgeniy Stepanov's avatar
      [msan] Cleanup public interface header. · eac7f934
      Evgeniy Stepanov authored
      Moved everything users are not supposed to use to a private interface header.
      Documented all public interfaces. Made them safe to use even if built without
      MemorySanitizer.
      
      llvm-svn: 173800
      eac7f934
  14. Jan 28, 2013
  15. Jan 25, 2013
  16. Jan 23, 2013
  17. Jan 22, 2013
  18. Jan 20, 2013
  19. Jan 18, 2013
  20. Jan 17, 2013
    • Jakob Stoklund Olesen's avatar
      Revert r172719, r172721-172723, and r172725. · 7956e009
      Jakob Stoklund Olesen authored
      The r172719 patch broke the build on Mac, the others depended on it.
      
      compiler-rt/lib/asan/asan_interceptors.cc:78:13: error: unused function
            'SetThreadName' [-Werror,-Wunused-function]
            static void SetThreadName(const char *name) {
      
      Orignal headlines:
      
        [asan] attempting to fix the Mac build
        [asan] restructure read/pread/pread64 tests
        [sanitizer] move write/pwrite/pwrite64 interceptors to common
        [msan] start using common interceptors in msan
        [tsan] move prctl interceptor from asan to common_interceptors thus enabling it for tsan too
      
      llvm-svn: 172763
      7956e009
Loading