Sync with dev branch

This commit is contained in:
mio 2022-01-18 21:39:45 +01:00
commit e6ff7e83e3
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
2 changed files with 3 additions and 2 deletions

View File

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

View File

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