summaryrefslogtreecommitdiff
path: root/lib/asan/scripts
Commit message (Collapse)AuthorAge
* [ASan] Make asan_symbolize.py fall back to ASAN_SYMBOLIZER_PATH (which is ↵Alexander Potapenko2013-10-31
| | | | | | used when ASAN_OPTIONS=symbolize=1) if LLVM_SYMBOLIZER_PATH is empty. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193758 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Close stderr before launching atos in asan_symbolize.pyAlexander Potapenko2013-07-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185631 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Cache atos processes to make Darwin symbolication faster.Alexander Potapenko2013-07-01
| | | | | | | | Patch by Jesse Ruderman<jruderman@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185325 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Do not buffer stdin in asan_symbolize.pyAlexander Potapenko2013-05-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183006 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] Minor cleanup: remove a couple of unused variables.Alexander Potapenko2013-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182915 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] added flag -d|--demangle to asan_symbolize.py, makes ↵Kostya Serebryany2013-02-18
| | | | | | addr2line/llvm-symbolizer demangle the functions names git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175429 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] use llvm-symbolizer for ASan lit-style tests on MacAlexey Samsonov2012-10-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165391 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not patch the instruction address when symbolizing the reports.Alexander Potapenko2012-10-02
| | | | | | | | Instead, print the correct address at runtime. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@165018 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed a number of gpylint warnings, added binary names filtering (useful for ↵Alexander Potapenko2012-09-26
| | | | | | Chrome), minor fixes. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164695 91177308-0d34-0410-b5e6-96231b3b80d8
* Encapsulate the main loop into a class to allow reusing it.Alexander Potapenko2012-09-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164694 91177308-0d34-0410-b5e6-96231b3b80d8
* Set --use-symbol-table=true as Alexey has already resolved the FIXME.Alexander Potapenko2012-09-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164693 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] make asan_symbolize script work if there is no llvm-symbolizer availableAlexey Samsonov2012-09-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164214 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] fix offline python symbolizer script to use llvm-symbolizer if possibleAlexey Samsonov2012-09-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164209 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass offset of the frame address within the binary to addr2line instead of ↵Alexander Potapenko2012-08-15
| | | | | | | | | the absolute address. Fixes the problem with -PIE binaries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161947 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement LinuxSymbolizer instead of symbolize_addr2line.Alexander Potapenko2012-08-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161181 91177308-0d34-0410-b5e6-96231b3b80d8
* Some refactoring for asan_symbolize.py: introduced the Symbolizer class and ↵Alexander Potapenko2012-08-02
| | | | | | | | | implemented DarwinSymbolizer for atos-based symbolization, BreakpadSymbolizer for breakpad-based symbolization (files produced by the dump_syms tool, http://code.google.com/p/google-breakpad/source/browse/#svn%2Ftrunk%2Fsrc%2Ftools%2Fmac%2Fdump_syms) and ChainSymbolizer to allow falling back if a symbolizer hadn't succeeded. Fixed pylint warnings. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161176 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor out the main() function.Alexander Potapenko2012-07-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161046 91177308-0d34-0410-b5e6-96231b3b80d8
* [ASan] subtract one from PCs in ASan error reports (as they originally ↵Alexey Samsonov2012-07-19
| | | | | | contain return addresses). Make output tests stricter. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160508 91177308-0d34-0410-b5e6-96231b3b80d8
* Suppress the stderr output from atos.Alexander Potapenko2012-07-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160502 91177308-0d34-0410-b5e6-96231b3b80d8
* More accurate atos execution which depends on the file type (EXECUTE, DYLIB) ↵Alexander Potapenko2012-01-26
| | | | | | | | | of the binary. More Linux-like output on Mac (to match more output tests). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@149064 91177308-0d34-0410-b5e6-96231b3b80d8
* Tune asan_symbolize.py to symbolize 64-bit binaries correctly.Alexander Potapenko2012-01-24
| | | | | | | Add the DEBUG flag to test_output.sh git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@148798 91177308-0d34-0410-b5e6-96231b3b80d8
* AddressSanitizer run-time library. Not yet integrated with the compiler-rt ↵Kostya Serebryany2011-11-30
build system, but can be built using the old makefile. See details in README.txt git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145463 91177308-0d34-0410-b5e6-96231b3b80d8