Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2014 19:24:13 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Request for (i386) testing: american fuzzy lop
Message-ID:  <zjbk-1kfm-wny@vfemail.net>
In-Reply-To: <1e452c69.4f66f2ab@fabiankeil.de> (Fabian Keil's message of "Fri,  21 Nov 2014 18:12:13 %2B0100")
References:  <3dc1c153.7b7b9177@fabiankeil.de> <546DF8A5.3060601@gmail.com> <3fb914c3.1002708a@fabiankeil.de> <a93l-6cj5-wny@vfemail.net> <8C0E4BEC-3B2B-4234-8BA8-60D53F5E0795@FreeBSD.org> <1e452c69.4f66f2ab@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Fabian Keil <freebsd-listen@fabiankeil.de> writes:

>> On 20 Nov 2014, at 17:51, Jan Beich <jbeich@vfemail.net> wrote:
>> ...
>> > while poudriere caught Clang i386 failing
>> > 
>> >  [*] Testing the CC wrapper and instrumentation output...
>> >  AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-clang -O2 -pipe
>> > -fstack-protector -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2
>> > -Wno-pointer-sign -DAFL_PATH=\"/prefix/afl-0.60b/lib/afl\"
>> > -DDOC_PATH=\"/prefix/afl-0.60b/share/doc/afl\" -DVERSION=\"0.60b\"
>> > -Wno-format test-instr.c -o test-instr
>> >  /tmp/.afl-19244-1416499444.s: Assembler messages:
>> >  /tmp/.afl-19244-1416499444.s:222: Error: unknown pseudo-op: `.cfi_sections'
>> >  clang: error: assembler command failed with exit code 1 (use -v
>> > to see invocation)
>> 
>> This has nothing do to with clang per se, it's GNU as outputting these messages.
>> Clang just runs it, if you disable its integrated assembler.
>> Is "afl-clang" a customized version?
>
> afl-clang is a thin wrapper around clang that makes sure afl-as
> (a wrapper around as) gets called.

In clang case, afl-as should feed the modified assembly back to the
compiler, not to GNU as. Try replacing |as| with |${CC} -c| except
adjusting positional parameters may slightly complicate it.

>
> Fabian

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zjbk-1kfm-wny>