Sync with dev branch
This commit is contained in:
commit
e6ff7e83e3
@ -1320,7 +1320,9 @@ endif()
|
|||||||
|
|
||||||
if(UNICORN_FUZZ)
|
if(UNICORN_FUZZ)
|
||||||
set(UNICORN_FUZZ_SUFFIX "arm_arm;arm_armbe;arm_thumb;arm64_arm;arm64_armbe;m68k_be;mips_32be;mips_32le;sparc_32be;x86_16;x86_32;x86_64;s390x_be")
|
set(UNICORN_FUZZ_SUFFIX "arm_arm;arm_armbe;arm_thumb;arm64_arm;arm64_armbe;m68k_be;mips_32be;mips_32le;sparc_32be;x86_16;x86_32;x86_64;s390x_be")
|
||||||
|
if (NOT APPLE)
|
||||||
set(SAMPLES_LIB ${SAMPLES_LIB} rt)
|
set(SAMPLES_LIB ${SAMPLES_LIB} rt)
|
||||||
|
endif()
|
||||||
foreach(SUFFIX ${UNICORN_FUZZ_SUFFIX})
|
foreach(SUFFIX ${UNICORN_FUZZ_SUFFIX})
|
||||||
add_executable(fuzz_emu_${SUFFIX}
|
add_executable(fuzz_emu_${SUFFIX}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/tests/fuzz/fuzz_emu_${SUFFIX}.c
|
${CMAKE_CURRENT_SOURCE_DIR}/tests/fuzz/fuzz_emu_${SUFFIX}.c
|
||||||
|
@ -14,7 +14,6 @@ int main(int argc, char** argv)
|
|||||||
DIR *d;
|
DIR *d;
|
||||||
struct dirent *dir;
|
struct dirent *dir;
|
||||||
int r = 0;
|
int r = 0;
|
||||||
int i;
|
|
||||||
|
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user