test(fuzz): Capability for random inputs
Adding model for random inputs to SMC calls using a
constraint mechanism with a multi tiered sanity
metric.
Change-Id: Ia750fa57359baa424f1af273ba24483ae7330c38
Signed-off-by: Mark Dykes <mark.dykes@arm.com>
diff --git a/smc_fuzz/src/runtestfunction_helpers.c b/smc_fuzz/src/runtestfunction_helpers.c
index c3b2cca..50bf395 100644
--- a/smc_fuzz/src/runtestfunction_helpers.c
+++ b/smc_fuzz/src/runtestfunction_helpers.c
@@ -5,14 +5,14 @@
*/
#include <sdei_fuzz_helper.h>
+#include "smcmalloc.h"
#include <tsp_fuzz_helper.h>
-
/*
* Invoke the SMC call based on the function name specified.
*/
-void runtestfunction(int funcid)
+void runtestfunction(int funcid, struct memmod *mmod)
{
- run_sdei_fuzz(funcid);
+ run_sdei_fuzz(funcid, mmod);
run_tsp_fuzz(funcid);
}