Skip to content

Commit a3b25de

Browse files
committed
add cxx11 in dfsan
1 parent b3e73c3 commit a3b25de

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

common/src/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ pub const DISABLE_INFER_SHAPE_IF_HAS_AND_OP: bool = true;
99
pub const PREFER_FAST_COND: bool = true;
1010

1111
// ************ Resources ****************
12+
pub const MAX_INPUT_LEN: usize = 15000;
13+
1214
// branch.rs
1315
pub const MAP_SIZE_POW2: usize = 20;
1416
pub const BRANCHES_SIZE: usize = 1 << MAP_SIZE_POW2;
@@ -38,7 +40,6 @@ pub const BONUS_EXEC_NUM: usize = 66;
3840

3941
// AFL
4042
pub const MUTATE_ARITH_MAX: u32 = 30;
41-
pub const MAX_INPUT_LEN: usize = 15000;
4243
pub const RANDOM_LEN_NUM: usize = 30;
4344
pub const MAX_HAVOC_FLIP_TIMES: usize = 45; // for all bytes
4445
pub const MAX_SPLICE_TIMES: usize = 45;

llvm_mode/dfsan_rt/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ set_property(
5050
include(AddCompilerRT)
5151
include(SanitizerUtils)
5252

53+
set(CMAKE_CXX_STANDARD 11)
54+
5355
add_subdirectory(sanitizer_common)
5456
add_subdirectory(interception)
5557
add_subdirectory(dfsan)

0 commit comments

Comments
 (0)