Skip to content

Commit 707283e

Browse files
committed
drop libfuzzer best, just update libafl_libfuzzer
1 parent 99c44ea commit 707283e

File tree

6 files changed

+3
-203
lines changed

6 files changed

+3
-203
lines changed

fuzzers/libafl_libfuzzer/builder.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ RUN if which rustup; then rustup self uninstall -y; fi && \
3434
# Download libafl.
3535
RUN git clone https://github.com/AFLplusplus/libafl /libafl && \
3636
cd /libafl && \
37-
git checkout defe9084aed5a80ac32fe9a1f3ff00baf97738c6 && \
37+
git checkout ed4178ecd12636fa054b18d1fc716ac414e90440 && \
3838
unset CFLAGS CXXFLAGS && \
3939
export LIBAFL_EDGES_MAP_SIZE=2621440 && \
4040
cd ./libafl_libfuzzer/libafl_libfuzzer_runtime && \
41-
env -i CXX=$CXX CC=$CC PATH="/root/.cargo/bin/:$PATH" cargo build --profile release-fuzzbench && \
42-
cp ./target/release-fuzzbench/libafl_libfuzzer_runtime.a /usr/lib/libFuzzer.a
41+
env -i CXX=$CXX CC=$CC PATH="/root/.cargo/bin/:$PATH" ./build.sh release-fuzzbench && \
42+
cp ./libFuzzer.a /usr/lib/libFuzzer.a

fuzzers/libafl_libfuzzer/fuzzer.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ def build():
4848
os.environ['CC'] = 'clang'
4949
os.environ['CXX'] = 'clang++'
5050

51-
# merge all of our lib into a single .o, then pack that into a static lib
52-
subprocess.check_call([
53-
'/usr/bin/ld', '-Ur', '--whole-archive', '/usr/lib/libFuzzer.a', '-o',
54-
'/tmp/libFuzzerMerged.o'
55-
])
56-
subprocess.check_call(['/usr/bin/rm', '/usr/lib/libFuzzer.a'])
57-
subprocess.check_call(
58-
['/usr/bin/ar', 'cr', '/usr/lib/libFuzzer.a', '/tmp/libFuzzerMerged.o'])
59-
6051
os.environ['FUZZER_LIB'] = '/usr/lib/libFuzzer.a'
6152

6253
utils.build_benchmark()

fuzzers/libafl_libfuzzer_best/builder.Dockerfile

Lines changed: 0 additions & 45 deletions
This file was deleted.

fuzzers/libafl_libfuzzer_best/description.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

fuzzers/libafl_libfuzzer_best/fuzzer.py

Lines changed: 0 additions & 120 deletions
This file was deleted.

fuzzers/libafl_libfuzzer_best/runner.Dockerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)