feat(smc_fuzz): add config for FF-A fuzzing
Add tftf_config for fuzzing FF-A smc calls and also amend
run config to allow for SPM build to be used.
Run as follows:
workspace=<path to workspace> retain_paths=1 warehouse=/arm test_groups=fvp-spm,fvp-smcfuzzing,nil,nil,fvp-default:fvp-spm-tftf.fuzz tf_root=<path to>/trusted-firmware-a tftf_root=<path to>/tf-a-tests spm_root=<path to>/hafnium nfs_volume=/arm bin_mode=debug ./platform-ci/script/run_local_ci.sh
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: I23b3c3585a82f21bd0faa3f56a1da33665d8b2ca
diff --git a/tftf_config/fvp-smcfuzzing-ffa b/tftf_config/fvp-smcfuzzing-ffa
new file mode 100644
index 0000000..3e0abc9
--- /dev/null
+++ b/tftf_config/fvp-smcfuzzing-ffa
@@ -0,0 +1,8 @@
+CROSS_COMPILE=aarch64-none-elf-
+PLAT=fvp
+TESTS=smcfuzzing
+SMC_FUZZING=1
+SMC_FUZZ_DTS=smc_fuzz/dts/ffa.dts
+SMC_FUZZ_SANITY_LEVEL=3
+SMC_FUZZ_CALLS_PER_INSTANCE=1000
+SMC_FUZZER_DEBUG=1