Support for flow protected branches. More...
Macros | |
#define | MCUX_CSSL_FP_BRANCH_ID(id) |
Generator for branch identifiers. | |
#define | MCUX_CSSL_FP_BRANCH_DECL_IMPL(id) |
Declaration implementation of a flow protected branch. | |
#define | MCUX_CSSL_FP_BRANCH_VALUE(id) |
Macro to get the value for a given branch. | |
#define | MCUX_CSSL_FP_BRANCH_POSITIVE_VALUE |
Value to use for the positive scenario. | |
#define | MCUX_CSSL_FP_BRANCH_NEGATIVE_VALUE |
Value to use for the negative scenario. | |
#define | MCUX_CSSL_FP_BRANCH_SCENARIO_IMPL(id, scenario, ...) |
Event implementation for the execution of a specified branch scenario. | |
#define | MCUX_CSSL_FP_BRANCH_POSITIVE_IMPLn(id, ...) |
Event implementation for the execution of a positive branch scenario (with expectations). | |
#define | MCUX_CSSL_FP_BRANCH_POSITIVE_IMPL1(id) |
Event implementation for the execution of a positive branch scenario (without expectations). | |
#define | MCUX_CSSL_FP_BRANCH_POSITIVE_IMPL(...) |
Event implementation for the execution of a positive branch scenario. | |
#define | MCUX_CSSL_FP_BRANCH_NEGATIVE_IMPLn(id, ...) |
Event implementation for the execution of a negative branch scenario (with expectations). | |
#define | MCUX_CSSL_FP_BRANCH_NEGATIVE_IMPL1(id) |
Event implementation for the execution of a negative branch scenario (without expectations). | |
#define | MCUX_CSSL_FP_BRANCH_NEGATIVE_IMPL(...) |
Event implementation for the execution of a negative branch scenario. | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_IMPL(id, scenario, condition) |
Expectation implementation of an executed specified branch scenario. | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_POSITIVE_IMPL2(id, condition) |
Expectation implementation of an executed positive branch (with condition). | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_POSITIVE_IMPL1(id) |
Expectation implementation of an executed positive branch (without condition). | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_POSITIVE_IMPL(...) |
Expectation implementation of an executed positive branch. | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_NEGATIVE_IMPL2(id, condition) |
Expectation implementation of an executed negative branch (with condition). | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_NEGATIVE_IMPL1(id) |
Expectation implementation of an executed negative branch (without condition). | |
#define | MCUX_CSSL_FP_BRANCH_TAKEN_NEGATIVE_IMPL(...) |
Expectation implementation of an executed negative branch. | |
Support for flow protected branches.
#define MCUX_CSSL_FP_BRANCH_ID | ( | id | ) |
Generator for branch identifiers.
id | Identifier for the flow protected branch. |
#define MCUX_CSSL_FP_BRANCH_DECL_IMPL | ( | id | ) |
Declaration implementation of a flow protected branch.
id | Identifier for the branch that is flow protected. |
#define MCUX_CSSL_FP_BRANCH_VALUE | ( | id | ) |
Macro to get the value for a given branch.
id | Identifier for the branch that is flow protected. |
id
. #define MCUX_CSSL_FP_BRANCH_POSITIVE_VALUE |
Value to use for the positive scenario.
#define MCUX_CSSL_FP_BRANCH_NEGATIVE_VALUE |
Value to use for the negative scenario.
#define MCUX_CSSL_FP_BRANCH_SCENARIO_IMPL | ( | id, | |
scenario, | |||
... | |||
) |
Event implementation for the execution of a specified branch scenario.
id | Identifier for the branch for which the given scenario is executed. |
scenario | The scenario for a branch is either positive or negative. |
expect | One or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_BRANCH_POSITIVE_IMPLn | ( | id, | |
... | |||
) |
Event implementation for the execution of a positive branch scenario (with expectations).
id | Identifier for the branch for which the positive scenario is executed. |
expect | One or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_BRANCH_POSITIVE_IMPL1 | ( | id | ) |
Event implementation for the execution of a positive branch scenario (without expectations).
id | Identifier for the branch for which the positive scenario is executed. |
#define MCUX_CSSL_FP_BRANCH_POSITIVE_IMPL | ( | ... | ) |
Event implementation for the execution of a positive branch scenario.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier for the branch for which the positive scenario is executed. |
expect | Zero or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_BRANCH_NEGATIVE_IMPLn | ( | id, | |
... | |||
) |
Event implementation for the execution of a negative branch scenario (with expectations).
id | Identifier for the branch for which the negative scenario is executed. |
expect | One or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_BRANCH_NEGATIVE_IMPL1 | ( | id | ) |
Event implementation for the execution of a negative branch scenario (without expectations).
id | Identifier for the branch for which the negative scenario is executed. |
#define MCUX_CSSL_FP_BRANCH_NEGATIVE_IMPL | ( | ... | ) |
Event implementation for the execution of a negative branch scenario.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier for the branch for which the negative scenario is executed. |
expect | Zero or more (comma separated) declarations of expected code flow behavior related to this event. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_IMPL | ( | id, | |
scenario, | |||
condition | |||
) |
Expectation implementation of an executed specified branch scenario.
id | Identifier of the flow protected branch. |
scenario | The scenario for a branch is either positive or negative. |
condition | Condition under which this branch is taken. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_POSITIVE_IMPL2 | ( | id, | |
condition | |||
) |
Expectation implementation of an executed positive branch (with condition).
id | Identifier of the flow protected branch. |
condition | Condition under which this branch is taken. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_POSITIVE_IMPL1 | ( | id | ) |
Expectation implementation of an executed positive branch (without condition).
id | Identifier of the flow protected branch. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_POSITIVE_IMPL | ( | ... | ) |
Expectation implementation of an executed positive branch.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier of the flow protected branch. |
condition | Optional, condition under which this branch is taken. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_NEGATIVE_IMPL2 | ( | id, | |
condition | |||
) |
Expectation implementation of an executed negative branch (with condition).
id | Identifier of the flow protected branch. |
condition | Condition under which this branch is taken. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_NEGATIVE_IMPL1 | ( | id | ) |
Expectation implementation of an executed negative branch (without condition).
id | Identifier of the flow protected branch. |
#define MCUX_CSSL_FP_BRANCH_TAKEN_NEGATIVE_IMPL | ( | ... | ) |
Expectation implementation of an executed negative branch.
Implemented as an overloaded macro to simplify the use of the API.
id | Identifier of the flow protected branch. |
condition | Optional, condition under which this branch is taken. |