Function: enableSecurityPolicies(ISecurityPolicyPlugin[] _policies)
This enables security policies, inserting into the linked list.
Inputs
_policies
Control: Full.
Constraints:
policies[x] != SENTINEL && policies[x] != 0x0
.Impact: The policies.
Branches and code coverage (including function calls)
Intended branches
Policies are added into the linked list in order.
Length should increase in accordance to the number of policies added.
Works twice in a row.
Negative behavior
Inserted Security Policies cannot be the sentinel address.
Inserted Security Policies cannot be
0x0
.Can fully remove all the policies.