mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
c236298979
Summary: If AFL_DRIVER_EXTRA_STATS_FILENAME is set and valid, write to it peak_rss_mb and slowest_unit_time_sec. These are both stats that libFuzzer can print but afl cannot. Reviewers: kcc, aizatsky, metzman Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21742 llvm-svn: 274273
11 lines
408 B
Plaintext
11 lines
408 B
Plaintext
; Test that not specifying a stderr file isn't broken.
|
|
RUN: unset AFL_DRIVER_STDERR_DUPLICATE_FILENAME
|
|
RUN: AFLDriverTest
|
|
|
|
; Test that specifying an invalid file causes a crash.
|
|
RUN: ASAN_OPTIONS= AFL_DRIVER_STDERR_DUPLICATE_FILENAME="%T" not --crash AFLDriverTest
|
|
|
|
; Test that a file is created when specified as the duplicate stderr.
|
|
RUN: AFL_DRIVER_STDERR_DUPLICATE_FILENAME=%t AFLDriverTest
|
|
RUN: stat %t
|