bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle relate


From: nickc at redhat dot com
Subject: [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions
Date: Wed, 28 Mar 2018 15:26:43 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23008

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
Hi Dongliang,

> first let me show my concrete instructions to convince you it is reproducible.
> And then I will post it to GCC Bugzilla.
> 
> ```
> wget https://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.gz
> tar -xvf binutils-2.29.tar.gz 
> cd binutils-2.29/
> CC=clang CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address"
> ./configure
> make
> cd binutils/
> ls
> ./cxxfilt < ~/Downloads/poc

I followed this outline almost exactly and the problem did not occur.
The difference was that I used "CC=gcc" rather than "CC=clang".  I did
try using clang, but it would not run with the -fsanitize=address option.
Possibly something to do with the sanitization libraries that I have
installed on my machine.

Anyway - it looks like you have stumbled across a clang bug.  If possible,
please could you check that compiling with gcc does work for you, and if
so, please can you report this problem to the clang developers ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]