mirror of
https://github.com/nlohmann/json.git
synced 2024-12-21 12:05:30 +08:00
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
|