bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Readline fuzz testing


From: Chet Ramey
Subject: Re: [Bug-readline] Readline fuzz testing
Date: Wed, 12 Jul 2017 09:11:44 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 7/11/17 9:32 PM, Ben Wong wrote:
> I just double checked and the Debian 8 machine I'm using is actually 32-bit. 
> Perhaps that's the difference?

It's hard to see how, but I suppose it's possible.

> Or am I downloading the wrong code by using git? Here's what I just tried:
> 
>     git clone git://git.savannah.gnu.org/readline.git
>     cd readline
>     git checkout devel
>     CFLAGS="-g -fsanitize=address" ./configure    
>     make
>     cd ..
>     gcc -g -fsanitize=address rltest.c -I. readline/lib{readline,history}.a 
> -lncurses -o rltest
> 
> Is that not right?

More or less what I did, except I used the termcap library instead of
ncurses and I didn't bother with address sanitizer for configure.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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