2022-12-16 11:41:28 -08:00
|
|
|
# UNSUPPORTED: darwin, target={{.*freebsd.*}}, target=aarch64{{.*}}
|
2019-02-12 02:18:53 +00:00
|
|
|
BINGO: BINGO
|
2019-02-12 00:29:51 +00:00
|
|
|
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
|
2019-05-07 09:31:14 +00:00
|
|
|
RUN: not %run %t-SimpleTest -fork=1 2>&1 | FileCheck %s --check-prefix=BINGO
|
2019-02-12 00:29:51 +00:00
|
|
|
|
2019-02-12 02:18:53 +00:00
|
|
|
TIMEOUT: ERROR: libFuzzer: timeout
|
|
|
|
RUN: %cpp_compiler %S/TimeoutTest.cpp -o %t-TimeoutTest
|
2019-05-07 09:31:14 +00:00
|
|
|
RUN: not %run %t-TimeoutTest -fork=1 -timeout=1 -ignore_timeouts=0 2>&1 | FileCheck %s --check-prefix=TIMEOUT
|
2019-02-12 02:18:53 +00:00
|
|
|
|
|
|
|
OOM: ERROR: libFuzzer: out-of-memory
|
|
|
|
RUN: %cpp_compiler %S/OutOfMemoryTest.cpp -o %t-OutOfMemoryTest
|
2019-05-07 09:31:14 +00:00
|
|
|
RUN: not %run %t-OutOfMemoryTest -fork=1 -ignore_ooms=0 -rss_limit_mb=128 2>&1 | FileCheck %s --check-prefix=OOM
|
2019-02-12 02:18:53 +00:00
|
|
|
|
2019-04-30 17:58:57 +00:00
|
|
|
# access-violation is the error thrown on Windows. Address will be smaller on i386.
|
2021-07-09 11:39:40 -04:00
|
|
|
CRASH: {{SEGV|access-violation}} on unknown address 0x00000000
|
2019-02-12 02:18:53 +00:00
|
|
|
RUN: %cpp_compiler %S/ShallowOOMDeepCrash.cpp -o %t-ShallowOOMDeepCrash
|
2019-05-07 09:31:14 +00:00
|
|
|
RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -rss_limit_mb=128 2>&1 | FileCheck %s --check-prefix=CRASH
|
2019-02-15 21:51:15 +00:00
|
|
|
|
|
|
|
MAX_TOTAL_TIME: INFO: fuzzed for {{.*}} seconds, wrapping up soon
|
|
|
|
MAX_TOTAL_TIME: INFO: exiting: {{.*}} time:
|
2020-03-27 23:58:06 +00:00
|
|
|
RUN: not %run %t-ShallowOOMDeepCrash -fork=1 -rss_limit_mb=128 -ignore_crashes=1 -max_total_time=10 2>&1 | FileCheck %s --check-prefix=MAX_TOTAL_TIME
|