• Home
  • History
  • Annotate
  • only in /external/compiler-rt/lib/msandr/
History log of /external/compiler-rt/lib/msandr/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
sandr.cc
9afa4528e02c1531885ccaad903acd28dda54556 30-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msandr] Add check-before-write optimization.

Replace blind store with check-before-store to avoid unnecessary memory stores.

Patch by Qin Zhao.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193703 91177308-0d34-0410-b5e6-96231b3b80d8
sandr.cc
a0475713cdac8a55ed2a62cf9553ae6fbb2dbbc2 29-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msandr] Remove use of std::set in msandr client to avoid reentrancy issues.

Patch by Qin Zhao.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193654 91177308-0d34-0410-b5e6-96231b3b80d8
sandr.cc
4b26afda2f4c7465260b22f1094c6699886cc55d 29-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msandr] Add support for standalone test.

Add macro MSANDR_STANDALONE_TEST for standalone test without msan executables.

Patch by Qin Zhao.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193643 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
sandr.cc
88732a3c78d8f46bebd4a519a1cf927edf28e2cb 25-Oct-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msandr] Add NATIVE_EXEC macro for building client for running in DynamoRIO hybrid mode only.

When running application in DynamoRIO hybrid mode only, only uninstrumented
modules will run in DynamoRIO and be instrumented by the client, so we do not
need module table in MSanDR.

Patch by Qin Zhao.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193411 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
sandr.cc
48abc6153185faaea5ec7cb727f04215de6db60c 13-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msandr] Add debugging instructions to README.txt.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190680 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
b6c3c12e3009bb2fe384dc156a97afb51767399c 02-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Update MSanDR build instructions.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189760 91177308-0d34-0410-b5e6-96231b3b80d8
EADME.txt
2ecccf8aca0f3f67d43e6395699aab0bb19ee277 22-Mar-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] Get rid of "using std::string" in msandr.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177714 91177308-0d34-0410-b5e6-96231b3b80d8
sandr.cc
7a53bca1db2adfb22c9e830f3e91833214b12663 13-Mar-2013 Reid Kleckner <reid@kleckner.net> [msan] Clean up extensions during msandr shutdown

Otherwise debug DynamoRIO complains at us for leaking memory.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176947 91177308-0d34-0410-b5e6-96231b3b80d8
sandr.cc
0f92deb81207c80481ff0257fbaba640fe669633 11-Mar-2013 Reid Kleckner <reid@kleckner.net> [msan] intercept dlopen and clear shadow for it

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176818 91177308-0d34-0410-b5e6-96231b3b80d8
sandr.cc
79b2d17fbaed2afa1a5a8f7bda42e45322709636 22-Feb-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> [msan] MSanDR: initial commit.

MSanDR is a DynamoRio-based tool that handles uninstrumented libraries and
dynamically generated code for MSan.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175883 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
EADME.txt
sandr.cc