From 66a3eef365043864c030d04c92ca7ce66dac30d3 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Thu, 7 Feb 2019 01:52:14 +0100 Subject: [PATCH] Fuzzing the new architectures (#1371) Using only flags from capstone.h --- suite/fuzz/fuzz_disasm.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/suite/fuzz/fuzz_disasm.c b/suite/fuzz/fuzz_disasm.c index 0bde486d5..6cf14eeb7 100644 --- a/suite/fuzz/fuzz_disasm.c +++ b/suite/fuzz/fuzz_disasm.c @@ -177,17 +177,21 @@ static struct platform platforms[] = { (cs_mode)0, "EVM" }, -#ifdef CAPSTONE_HAS_MOS65XX { //item 26 CS_ARCH_MOS65XX, (cs_mode)0, "MOS65XX" }, -#endif -#ifdef CAPSTONE_HAS_WASM { //item 27 + CS_ARCH_TMS320C64X, + CS_MODE_BIG_ENDIAN, + "tms320c64x" + }, +#if CS_NEXT_VERSION >= 5 + { + //item 28 CS_ARCH_WASM, (cs_mode)0, "WASM"