Zydis: Enable assertions during fuzzing (#6404)

Related PR in Zydis: https://github.com/zyantific/zycore-c/pull/29
This commit is contained in:
Joel Höner 2021-09-05 17:16:54 +02:00 committed by GitHub
parent 9f4b295c11
commit f5def408e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 \