Alexey Samsonov
|
480477c0e1
|
[ASan] use llvm-symbolizer for ASan lit-style tests on Mac
llvm-svn: 165391
|
2012-10-08 13:11:18 +00:00 |
Alexander Potapenko
|
77c0ac2336
|
Do not patch the instruction address when symbolizing the reports.
Instead, print the correct address at runtime.
llvm-svn: 165018
|
2012-10-02 15:42:24 +00:00 |
Alexander Potapenko
|
3f6a5c1b2d
|
Fixed a number of gpylint warnings, added binary names filtering (useful for Chrome), minor fixes.
llvm-svn: 164695
|
2012-09-26 13:16:42 +00:00 |
Alexander Potapenko
|
59cc8776c4
|
Encapsulate the main loop into a class to allow reusing it.
llvm-svn: 164694
|
2012-09-26 12:12:41 +00:00 |
Alexander Potapenko
|
fa2a964540
|
Set --use-symbol-table=true as Alexey has already resolved the FIXME.
llvm-svn: 164693
|
2012-09-26 11:36:14 +00:00 |
Alexey Samsonov
|
ea2fb08545
|
[ASan] make asan_symbolize script work if there is no llvm-symbolizer available
llvm-svn: 164214
|
2012-09-19 11:43:41 +00:00 |
Alexey Samsonov
|
52565d5491
|
[ASan] fix offline python symbolizer script to use llvm-symbolizer if possible
llvm-svn: 164209
|
2012-09-19 08:49:53 +00:00 |
Alexander Potapenko
|
1800362758
|
Pass offset of the frame address within the binary to addr2line instead of the absolute address.
Fixes the problem with -PIE binaries.
llvm-svn: 161947
|
2012-08-15 13:58:24 +00:00 |
Alexander Potapenko
|
879b1ffca7
|
Implement LinuxSymbolizer instead of symbolize_addr2line.
llvm-svn: 161181
|
2012-08-02 14:58:04 +00:00 |
Alexander Potapenko
|
be84ac8ff3
|
Some refactoring for asan_symbolize.py: introduced the Symbolizer class and 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.
llvm-svn: 161176
|
2012-08-02 13:59:23 +00:00 |
Alexander Potapenko
|
8aae9557d6
|
Factor out the main() function.
llvm-svn: 161046
|
2012-07-31 13:51:26 +00:00 |
Alexey Samsonov
|
3735faa108
|
[ASan] subtract one from PCs in ASan error reports (as they originally contain return addresses). Make output tests stricter.
llvm-svn: 160508
|
2012-07-19 15:07:26 +00:00 |
Alexander Potapenko
|
628b349b17
|
Suppress the stderr output from atos.
llvm-svn: 160502
|
2012-07-19 12:01:07 +00:00 |
Alexander Potapenko
|
02a71626e3
|
More accurate atos execution which depends on the file type (EXECUTE, DYLIB) of the binary.
More Linux-like output on Mac (to match more output tests).
llvm-svn: 149064
|
2012-01-26 17:06:50 +00:00 |
Alexander Potapenko
|
1f397fb87f
|
Tune asan_symbolize.py to symbolize 64-bit binaries correctly.
Add the DEBUG flag to test_output.sh
llvm-svn: 148798
|
2012-01-24 10:44:44 +00:00 |
Kostya Serebryany
|
019b76f5fd
|
AddressSanitizer run-time library. Not yet integrated with the compiler-rt build system, but can be built using the old makefile. See details in README.txt
llvm-svn: 145463
|
2011-11-30 01:07:02 +00:00 |