tf_fuzz: Minor improvements/fixes in TF-Fuzz
Problems corrected related to failing to deallocate resources
created over the course of a test, and to incorrect accounting for
variables when using statement-level randomization (i.e., the <n>
to <m> of {} and shuffle options). Also removed several inter-
mediate files that should not have commited in the first place.
Change-Id: I0582cbfddb70563a071fee0cb9aaf2547876d051
diff --git a/tf_fuzz/calls/crypto_call.hpp b/tf_fuzz/calls/crypto_call.hpp
index 7fd58cc..6937686 100644
--- a/tf_fuzz/calls/crypto_call.hpp
+++ b/tf_fuzz/calls/crypto_call.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -29,7 +29,6 @@
/* Note: The vector is base-class, but the assets in this list
themselves *really are* policy_asset-type objects. */
int i = call->asset_info.the_asset->set_data.n_set_vars; // save this
- call->asset_info.the_asset->exp_data.data = call->exp_data.data;
call->asset_info.the_asset->set_data = call->set_data;
call->asset_info.the_asset->set_data.n_set_vars = call->set_data.n_set_vars = ++i;
call->asset_info.the_asset->policy = call->policy;