Displaying 20 results from an estimated 2000 matches similar to: "[RFC] Tooling for parsing and symbolication of Sanitizer reports"
2020 Oct 07
4
[RFC] Tooling for parsing and symbolication of Sanitizer reports
Hi,
On Tue, 6 Oct 2020 at 18:31, David Blaikie <dblaikie at gmail.com> wrote:
>
> My 2c would be to push back a bit more on the "let's not have a machine readable format, but instead parse the human readable format" - it seems like that's going to make the human readable format/parsing fairly brittle/hard to change (I mean, having the parser in tree will help, for
2014 Feb 11
7
[LLVMdev] Heads-up: changing the structure of compiler-rt source tree
Hi all,
compiler-rt is now not only a libgcc replacement for different platforms,
there are sanitizer and profile runtimes as well. I plan to move the files
as follows during this week:
1. libraries:
a) all libgcc replacement stuff moves from "/lib" to "/lib/core" (the name
sucks, please suggest alternatives). Same for platform-specific code:
2014 Apr 03
2
[LLVMdev] Building sanitizers for Android
On Thu, Apr 3, 2014 at 5:04 AM, Greg Fitzgerald <garious at gmail.com> wrote:
> > we would still want to use compiler-rt test-suite in a standalone mode,
> to test fully built/installed toolchains,
> and even GCC.
>
> Sounds good.
>
>
> > Clang driver links the static xsan runtimes from a hardcoded
> > paths in Clang resource directory, and doesn't
2014 Apr 02
3
[LLVMdev] Building sanitizers for Android
Hi Greg,
On Wed, Apr 2, 2014 at 2:50 AM, Greg Fitzgerald <garious at gmail.com> wrote:
> Alexey, Evgeniy,
>
> I propose the following steps to unify multi-arch support in compiler-rt:
>
> 1) The compiler-rt test suite adds "-L${CMAKE_CURRENT_BINARY_DIR}/lib"
> to its 'clang' variables. This way we can test the sanitizers without
> installing any libs
2013 Oct 30
2
[LLVMdev] Symbolized ASan output on Android
If running ASan on the host architecture, we can symbolize output with:
export LLVM_SYMBOLIZER_PATH=`which llvm-symbolizer`
./myInstrumentedProgram
but on Android symbolizing is more complex. The bash script below is
a "hello world" for symbolizing ASan output on Android. Is there a
simpler way to do this?
# Execute the test and save its output
adb push
2013 May 30
2
[LLVMdev] compiler-rt tests in cmake?
The sanitizer common and asan that mention 'thread' are failing for me
this morning. How are your bots looking? Last good commit here was
512c616cacf70ca029a2bf719a482b902f3687cd.
> You could try preprocessing your report with perl or sed to fix paths
> to your binaries. It would be great to have an option for that in
> asan_symbolize.py.
>
> As for addr2line, we just
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
On Thu, May 30, 2013 at 10:05 PM, Greg Fitzgerald <garious at gmail.com> wrote:
> The sanitizer common and asan that mention 'thread' are failing for me
> this morning. How are your bots looking? Last good commit here was
> 512c616cacf70ca029a2bf719a482b902f3687cd.
>
Hm, our bots seem to be green. Could you refer to guilty svn revision?
>
> > You could try
2014 Apr 05
2
[LLVMdev] Building sanitizers for Android
Alexey,
>> Some good news, the drivers (both gcc and clang) allow us to put the
>> '-L' parameters after the '-l' parameters.
I made these changes locally and it went really well. The patch to
clang is quite small and only one unit-test needed updating. In
compiler-rt, I updated the flags passed to clang to include a
'-L${COMPILER_RT_BINARY_DIR}/lib' and
2014 Apr 04
2
[LLVMdev] Building sanitizers for Android
On Thu, Apr 3, 2014 at 9:23 PM, Greg Fitzgerald <garious at gmail.com> wrote:
> > I don't think it's a good idea to let user hijack
> > the driver and stuff in custom version of
> > ASan runtime instead the one installed/built
> > with compiler :)
>
> I'm okay with it. This is open source. If someone wants to put the
> sanitizers on a shorter
2013 May 30
5
[LLVMdev] compiler-rt tests in cmake?
> We have plans to actually compile the symbolizer into the binary and do
> in-process symbolization, but it's not there yet.
nice!
> I'm confused here. compiler-rt and clang/llvm instrumentation depend on each other
These two projects don't need to be interdependent and, for the most
part, they aren't. In the same way that llvm does not depend on
clang, compiler-rt
2017 Jun 08
2
Non-standard C++ usage
~/workspace/LLVM/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_report.cc:
In function ‘const char* __tsan::ReportTypeString(__tsan::ReportType,
__sanitizer::uptr)’:
~/workspace/LLVM/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_report.cc:95:41:
warning: ISO C++ does not allow ?: with omitted middle operand
[-Wpedantic]
return GetReportHeaderFromTag(tag) ?: "race on external object";
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
> Cool, can you use clang 3.3 then? :)
I can, but digging deeper I see that the compiler-rt sanitizer tests depend
on just-built-clang for its object instrumentation. The next time the
instrumentation changes, I'd expect those tests to break. If the lit tests
that require -fsanitize were moved to the clang repo, then I think it'd be
safe to build compiler-rt with clang 3.3 or gcc
2013 Oct 31
0
[LLVMdev] Symbolized ASan output on Android
On Wed, Oct 30, 2013 at 2:08 PM, Greg Fitzgerald <garious at gmail.com> wrote:
> If running ASan on the host architecture, we can symbolize output with:
>
> export LLVM_SYMBOLIZER_PATH=`which llvm-symbolizer`
> ./myInstrumentedProgram
>
> but on Android symbolizing is more complex. The bash script below is
> a "hello world" for symbolizing ASan output
2014 Apr 16
3
[LLVMdev] Building sanitizers for Android
> First of all, sorry for the late response (I'm in the process of moving to California).
Welcome!
> We need to verify that simple command "clang -fsanitize=address foo.cc" works
Agreed. The test suite is useful in many different scenarios:
1) Verifying the integrated clang.
2) Verifying the integrated gcc.
3) Verifying the libraries during development.
I'm working
2013 Oct 31
1
[LLVMdev] Symbolized ASan output on Android
Thanks for letting me know that this is in the works. This is
something that would make running ASan (and all other sanitizers I
assume) quite a bit more appealing on Android. If there's anything I
can do to help, please let me know. If you'd like to discuss in
person, I'll be at the Developers' Meeting next week.
-Greg
On Thu, Oct 31, 2013 at 1:58 PM, Alexey Samsonov
2019 Mar 18
1
llvm symbolizer not able to parse debuginfo files
I am trying to run NFS-Ganesha with ASAN in our setup. I am having
difficulties to make llvm symbolizer print symbol names from the
.debug binaries/libraries, once ASAN shows any error;
bash-4.2# /opt/rh/llvm-toolset-7/root/usr/bin/llvm-symbolizer --version
LLVM (http://llvm.org/):
LLVM version 5.0.1
Optimized build.
Default target: x86_64-unknown-linux-gnu
Host CPU: nocona
I am getting
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
On Thu, May 30, 2013 at 3:40 AM, Greg Fitzgerald <garious at gmail.com> wrote:
> > Cool, can you use clang 3.3 then? :)
>
> I can, but digging deeper I see that the compiler-rt sanitizer tests
> depend on just-built-clang for its object instrumentation. The next time
> the instrumentation changes, I'd expect those tests to break. If the lit
> tests that require
2010 Nov 05
2
xServes are dead ;-( / SAN Question
Hi !
As some of you might know, Apple has discontinued it's xServes server as of
january 31st 2011.
We have a server rack with 12 xserves ranging from dual G5's to dual
quand-core xeon lastest generation, 3 xserve-raid and one activeraid 16 TB
disk enclosure. We also use xSan to access a shared file system among the
servers. Services are run from this shared filesystem, spreaded
2014 Jan 31
6
[LLVMdev] [cfe-dev] Sanitizers libs in Compiler-RT
Chandler,
Thanks for the great overview.
On Fri, Jan 31, 2014 at 12:12 PM, Chandler Carruth <chandlerc at google.com>wrote:
>
> On Thu, Jan 30, 2014 at 1:54 PM, Renato Golin <renato.golin at linaro.org>wrote:
>
>> On 30 January 2014 21:50, Reid Kleckner <rnk at google.com> wrote:
>>>
>>> I don't see any compelling reason to split the
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
On Wed, May 29, 2013 at 5:40 PM, Greg Fitzgerald <garious at gmail.com> wrote:
> For me, UBsan fails with clang 3.2 and passes with clang 3.3.
>
Cool, can you use clang 3.3 then? :) I think that the reason selected UBSan
tests fail under clang 3.2 is a bug in Clang, which was fixed (Richard may
correct me if I'm wrong).
I don't really want to mark these tests as "failing