Skip to content

Commit 30693ec

Browse files
committed
update fuzz corpus
1 parent 8fbe099 commit 30693ec

397 files changed

Lines changed: 114 additions & 64 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ build-iPhoneSimulator/
6060
build_config.rb.lock
6161
compile_commands.json
6262
findings
63-
benchmark/bench_simdjson
63+
benchmark/bench_simdjson
64+
benchmark/_deps

benchmark/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
cmake_minimum_required(VERSION 3.14)
2+
project(simdjson_bench CXX)
3+
4+
set(CMAKE_CXX_STANDARD 17)
5+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6+
7+
include(FetchContent)
8+
FetchContent_Declare(
9+
simdjson
10+
URL https://github.com/simdjson/simdjson/releases/download/v4.6.1/singleheader.zip
11+
)
12+
FetchContent_MakeAvailable(simdjson)
13+
14+
add_library(simdjson_lib STATIC ${simdjson_SOURCE_DIR}/simdjson.cpp)
15+
target_include_directories(simdjson_lib PUBLIC ${simdjson_SOURCE_DIR})
16+
target_compile_options(simdjson_lib PRIVATE -O3 -march=native)
17+
18+
add_executable(simdjson_bench simdjson_bench.cpp)
19+
target_link_libraries(simdjson_bench PRIVATE simdjson_lib)
20+
target_compile_options(simdjson_bench PRIVATE -O3 -march=native)
7 Bytes
Binary file not shown.

fuzz/corpus/012255f34fdd16f343edfb21569f7b91e55db83b

Lines changed: 0 additions & 1 deletion
This file was deleted.
-156 Bytes
Binary file not shown.
-43 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�����������a
28 Bytes
Binary file not shown.
155 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)