[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.
- [Bug binutils/23008] New: Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/27
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, nickc at redhat dot com, 2018/03/28
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/28
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions,
nickc at redhat dot com <=
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/28
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/28
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/28
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, nickc at redhat dot com, 2018/03/29
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, hjl.tools at gmail dot com, 2018/03/29
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/29
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/29
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/29
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/29
- [Bug binutils/23008] Stack Overflow(Stack Exhaustion) in demangle related functions, mudongliangabcd at gmail dot com, 2018/03/29