Request for (i386) testing: american fuzzy lop

Jan Beich jbeich at vfemail.net
Fri Nov 21 18:24:58 UTC 2014


Fabian Keil <freebsd-listen at fabiankeil.de> writes:

>> On 20 Nov 2014, at 17:51, Jan Beich <jbeich at 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!  


More information about the freebsd-ports mailing list