Flow protection handling core functionality.
More...
Flow protection handling core functionality.
- Declaration
- MCUX_CSSL_FP_FUNCTION_DECL_IMPL
- Event
- MCUX_CSSL_FP_FUNCTION_CALL_IMPL
- Expectation
- MCUX_CSSL_FP_FUNCTION_CALLED_IMPL
◆ MCUX_CSSL_FP_DECL_NAME
#define MCUX_CSSL_FP_DECL_NAME |
( |
|
type, |
|
|
|
id |
|
) |
| |
Construct a name based on type and id.
- Parameters
-
type | Indicator for the type of declaration. |
id | Identifier for the flow protected entity. |
- Returns
- CSSL flow protection entity name for given
type
and id
.
◆ MCUX_CSSL_FP_DECL_IMPL
#define MCUX_CSSL_FP_DECL_IMPL |
( |
|
type, |
|
|
|
id |
|
) |
| |
Generic flow protected entity declaration implementation.
- Parameters
-
type | Indicator for the type of declaration. |
id | Identifier for the flow protected entity. |
- Returns
- CSSL flow protection entity declaration.
◆ MCUX_CSSL_FP_ID_IMPL
#define MCUX_CSSL_FP_ID_IMPL |
( |
| ) |
|
Generic identifier generator based on current line number.
- Returns
- Counter value based on the current line number.
◆ MCUX_CSSL_FP_CONDITIONAL_IMPL
#define MCUX_CSSL_FP_CONDITIONAL_IMPL |
( |
|
condition, |
|
|
|
... |
|
) |
| |
Conditional expectation aggregation.
- Parameters
-
condition | Condition under which the given expectations apply |
expect | One or more (comma separated) declarations of expected code code flow behavior. |
- Returns
- Aggregated counter value for the given expectations, if condition is satisfied. Otherwise 0.