This repository was archived by the owner on Mar 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +13
-8
lines changed Expand file tree Collapse file tree 10 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 14
14
#include < cassert>
15
15
#include < cstddef>
16
16
#include < cstdint>
17
+ #include < cstring>
17
18
#include < string>
18
19
#include < vector>
19
20
Original file line number Diff line number Diff line change 11
11
// requires that clients of LibFuzzer pass ``--export-dynamic`` to the linker.
12
12
// That is a complication we don't wish to expose to clients right now.
13
13
// ===----------------------------------------------------------------------===//
14
- #include " FuzzerInternal .h"
14
+ #include " FuzzerDefs .h"
15
15
#if LIBFUZZER_APPLE
16
16
17
17
#include " FuzzerExtFunctions.h"
Original file line number Diff line number Diff line change 12
12
// weak symbols to be undefined. That is a complication we don't want to expose
13
13
// to clients right now.
14
14
// ===----------------------------------------------------------------------===//
15
- #include " FuzzerInternal .h"
15
+ #include " FuzzerDefs .h"
16
16
#if LIBFUZZER_LINUX
17
17
18
18
#include " FuzzerExtFunctions.h"
Original file line number Diff line number Diff line change 16
16
// For the same reason we do not want to depend on SHA1 from LLVM tree.
17
17
// ===----------------------------------------------------------------------===//
18
18
19
- #include " FuzzerInternal .h"
19
+ #include " FuzzerDefs .h"
20
20
21
21
/* This code is public-domain - it is based on libcrypt
22
22
* placed in the public domain by Wei Dai and other contributors.
Original file line number Diff line number Diff line change 12
12
//
13
13
// ===----------------------------------------------------------------------===//
14
14
15
- #include " FuzzerInternal .h"
15
+ #include " FuzzerDefs .h"
16
16
#include " FuzzerTracePC.h"
17
+ #include " FuzzerValueBitMap.h"
17
18
18
19
namespace fuzzer {
19
20
Original file line number Diff line number Diff line change 13
13
#define LLVM_FUZZER_TRACE_PC
14
14
15
15
#include " FuzzerDefs.h"
16
+ #include " FuzzerValueBitMap.h"
16
17
17
18
namespace fuzzer {
18
19
Original file line number Diff line number Diff line change 8
8
// ===----------------------------------------------------------------------===//
9
9
// Misc utils for Darwin.
10
10
// ===----------------------------------------------------------------------===//
11
- #include " FuzzerInternal .h"
11
+ #include " FuzzerDefs .h"
12
12
#if LIBFUZZER_APPLE
13
13
#include < mutex>
14
14
#include < signal.h>
Original file line number Diff line number Diff line change 8
8
// ===----------------------------------------------------------------------===//
9
9
// Misc utils for Linux.
10
10
// ===----------------------------------------------------------------------===//
11
- #include " FuzzerInternal .h"
11
+ #include " FuzzerDefs .h"
12
12
#if LIBFUZZER_LINUX
13
13
#include < stdlib.h>
14
14
namespace fuzzer {
Original file line number Diff line number Diff line change 12
12
#ifndef LLVM_FUZZER_VALUE_BIT_MAP_H
13
13
#define LLVM_FUZZER_VALUE_BIT_MAP_H
14
14
15
+ #include " FuzzerDefs.h"
16
+
15
17
namespace fuzzer {
16
18
17
19
// A bit map containing kMapSizeInWords bits.
Original file line number Diff line number Diff line change 1
- RUN: LLVMFuzzer-SimpleTest -print_pcs=1 2>&1 | FileCheck %s --check-prefix=PCS
2
- RUN: LLVMFuzzer-SimpleTest-TracePC -print_pcs=1 2>&1 | FileCheck %s --check-prefix=PCS
1
+ RUN: LLVMFuzzer-SimpleTest -print_pcs=1 -seed=1 2>&1 | FileCheck %s --check-prefix=PCS
2
+ RUN: LLVMFuzzer-SimpleTest-TracePC -print_pcs=1 -seed=1 2>&1 | FileCheck %s --check-prefix=PCS
3
3
PCS-NOT: NEW_PC
4
4
PCS:INITED
5
5
PCS:NEW_PC: {{0x[a-f0-9]+}}
You can’t perform that action at this time.
0 commit comments