New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 684077 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Update AFL to latest to use trace-pc-guard

Project Member Reported by infe...@chromium.org, Jan 23 2017

Issue description

This is tracking bug for chromium side.
 
Cc: mmoroz@chromium.org
Owner: infe...@chromium.org
Status: Started (was: Untriaged)
Latest AFL does not build with trace-pc, but does compile with trace-pc-guard.

[972/1745] LINK ./re2c
FAILED: re2c 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -m64 -pthread -Wl,-O1 -Wl,--gc-sections --sysroot=../../build/linux/debian_wheezy_amd64-sysroot -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. -Werror -Wl,-u_sanitizer_options_link_helper -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc -stdlib=libc++ -Wl,-rpath,\$ORIGIN/ -L. -o "./re2c" -Wl,--start-group @"./re2c.rsp" ./libc++.so -Wl,--end-group  -ldl -lrt 
../../third_party/yasm/source/patched-yasm/tools/re2c/dfa.c:10: error: undefined reference to '__sanitizer_cov_trace_pc'
../../third_party/yasm/source/patched-yasm/tools/re2c/actions.c:23: error: undefined reference to '__sanitizer_cov_trace_pc'
../../third_party/yasm/source/patched-yasm/tools/re2c/dfa.c:20: error: undefined reference to '__sanitizer_cov_trace_pc'
../../third_party/yasm/source/patched-yasm/tools/re2c/actions.c:25: error: undefined reference to '__sanitizer_cov_trace_pc'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[973/1745] LINK ./mkpeephole
FAILED: mkpeephole 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -pie -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -fuse-ld=gold -B../../third_party/binutils/Linux_x64/Release/bin -Wl,--threads -Wl,--thread-count=4 -m64 -pthread --sysroot=../../build/linux/debian_wheezy_amd64-sysroot -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -Wl,-rpath-link=/usr/local/google/home/aarya/build/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. -Werror -Wl,-O1 -Wl,--gc-sections -Wl,-u_sanitizer_options_link_helper -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc -stdlib=libc++ -Wl,-rpath,\$ORIGIN/ -L. -o "./mkpeephole" -Wl,--start-group @"./mkpeephole.rsp" ./libc++.so -Wl,--end-group  -ldl -lrt 
../../buildtools/third_party/libc++/trunk/include/ostream:746: error: undefined reference to '__sanitizer_cov_trace_pc'
../../buildtools/third_party/libc++/trunk/include/ios:747: error: undefined reference to '__sanitizer_cov_trace_pc'
../../v8/src/interpreter/bytecodes.cc:61: error: undefined reference to '__sanitizer_cov_trace_pc'
../../buildtools/third_party/libc++/trunk/include/ostream:752: error: undefined reference to '__sanitizer_cov_trace_pc'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae

commit c584ddf6b18583daebdc8f02f9ea9b50fb36dbae
Author: inferno <inferno@chromium.org>
Date: Mon Jan 30 19:26:07 2017

Roll AFL 2.31b:2.38b and switch coverage to use trace-pc-guard.

TBR=dpranke@chromium.org
BUG= 684077 

Review-Url: https://codereview.chromium.org/2662883002
Cr-Commit-Position: refs/heads/master@{#447032}

[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/build/config/sanitizers/sanitizers.gni
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/README.chromium
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/Makefile
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/afl-fuzz.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/afl-gcc.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/afl-showmap.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/afl-tmin.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/afl-whatsup
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/config.h
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/ChangeLog
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/INSTALL
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/README
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/env_variables.txt
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/notes_for_asan.txt
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/perf_tips.txt
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/sister_projects.txt
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/docs/technical_details.txt
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/bash-cmd-exec.var
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/bash-uninit-mem.var
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/ffmpeg-h264-bad-ptr-800m.mp4
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/ffmpeg-h264-bad-read.mp4
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/ffmpeg-h264-call-stack-overflow.mp4
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/firefox-bmp-leak.bmp
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/firefox-chrome-leak.jpg
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/firefox-gif-leak.gif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/firefox-gif-leak2.gif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/jxrlib-crash.jxr
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/jxrlib-crash2.jxr
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/jxrlib-crash3.jxr
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/jxrlib-crash4.jxr
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/lesspipe-cpio-bad-write.cpio
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libjpeg-sos-leak.jpg
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libjpeg-turbo-dht-leak.jpg
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libtiff-bad-write.tif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libtiff-uninit-mem.tif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libtiff-uninit-mem2.tif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libtiff-uninit-mem3.tif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libtiff-uninit-mem4.tif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/libxml2-bad-read.xml
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/msie-dht-leak.jpg
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/msie-jxr-mem-leak.jxr
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/msie-png-mem-leak.png
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/msie-tiff-mem-leak.tif
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/msie-zlib-dos.png
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/openssl-null-ptr.der
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/openssl-null-ptr2.der
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/photoshop-mem-leak.jpg
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-bad-free.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-bad-ptr.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-bad-ptr2.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-bad-ptr3.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-heap-overflow.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-heap-overwrite.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-negative-memset.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr1.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr10.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr11.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr12.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr13.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr14.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr15.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr2.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr3.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr4.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr5.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr6.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr7.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr8.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-null-ptr9.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-oob-read.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-oob-write.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-stack-buf-overflow.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-stack-exhaustion.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-unint-mem.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/sqlite-use-after-free.sql
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/strings-stack-overflow
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/tcpdump-arp-crash.pcap
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/tcpdump-ppp-crash.pcap
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/unrtf-arbitrary-read.rtf
[delete] https://crrev.com/3e3b43318eabe5ce36cbdad944a27145abf35c26/third_party/afl/src/docs/vuln_samples/unzip-t-mem-corruption.zip
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/libdislocator/libdislocator.so.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/llvm_mode/README.llvm
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/llvm_mode/afl-clang-fast.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/llvm_mode/afl-llvm-rt.o.c
[modify] https://crrev.com/c584ddf6b18583daebdc8f02f9ea9b50fb36dbae/third_party/afl/src/qemu_mode/README.qemu

Comment 4 by aarya@google.com, Jan 30 2017

Status: Fixed (was: Started)
Status: Assigned (was: Fixed)
Status: Fixed (was: Assigned)
Fixed with latest clang roll.

Sign in to add a comment