11 lines
468 B
Plaintext
11 lines
468 B
Plaintext
|
RUN: LLVMFuzzer-TraceMallocTest -seed=1 -trace_malloc=1 -runs=10000 2>&1 | FileCheck %s
|
||
|
CHECK-DAG: MallocFreeTracer: STOP 0 0 (same)
|
||
|
CHECK-DAG: MallocFreeTracer: STOP 0 1 (DIFFERENT)
|
||
|
CHECK-DAG: MallocFreeTracer: STOP 1 0 (DIFFERENT)
|
||
|
CHECK-DAG: MallocFreeTracer: STOP 1 1 (same)
|
||
|
|
||
|
RUN: LLVMFuzzer-TraceMallocTest -seed=1 -trace_malloc=2 -runs=1000 2>&1 | FileCheck %s --check-prefix=TRACE2
|
||
|
TRACE2-DAG: FREE[0]
|
||
|
TRACE2-DAG: MALLOC[0]
|
||
|
TRACE2-DAG: in LLVMFuzzerTestOneInput
|