Assessment reports>Security Policy>Threat Model>disableSecurityPoliciesRange

Function: disableSecurityPoliciesRange(ISecurityPolicyPlugin _start, ISecurityPolicyPlugin _end, ISecurityPolicyPlugin _pointer)

This disables security policies, removing them from the linked list.

Inputs

  • _start

    • Control: Full.

    • Constraints: != SENTINEL && != 0x0.

    • Impact: Marks the beginning of the range of security policies to be disabled.

  • _end

    • Control: Full.

    • Constraints: != SENTINEL && != 0x0.

    • Impact: Marks the end of the range of security policies to be disabled.

  • _pointer

    • Control: Full.

    • Constraints: Must point to a valid policy.

    • Impact: Reference point in the linked list.

Branches and code coverage (including function calls)

Intended branches

  • Properly disable enable p1--p4 policies.

Negative behavior

  • Should revert with invalid range.

  • Should revert with invalid pointer.

Zellic © 2024Back to top ↑