mirror of https://github.com/google/oss-fuzz.git
Zydis: Enable assertions during fuzzing (#6404)
Related PR in Zydis: https://github.com/zyantific/zycore-c/pull/29
This commit is contained in:
parent
9f4b295c11
commit
f5def408e1
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue