From f5def408e1cd6b56cf68583e919cf66755967743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20H=C3=B6ner?= Date: Sun, 5 Sep 2021 17:16:54 +0200 Subject: [PATCH] Zydis: Enable assertions during fuzzing (#6404) Related PR in Zydis: https://github.com/zyantific/zycore-c/pull/29 --- projects/zydis/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/zydis/build.sh b/projects/zydis/build.sh index b38ce5b2c..98103a4f4 100755 --- a/projects/zydis/build.sh +++ b/projects/zydis/build.sh @@ -20,6 +20,7 @@ mv $SRC/ZydisFuzz_seed_corpus.zip $OUT/ZydisFuzz_seed_corpus.zip mkdir build && cd build cmake \ + -DZYAN_FORCE_ASSERTS=ON \ -DZYDIS_BUILD_EXAMPLES=OFF \ -DZYDIS_BUILD_TOOLS=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -29,7 +30,7 @@ cmake \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ .. -make -j8 +make -j$(nproc) VERBOSE=1 $CXX \ $CXXFLAGS \