mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 01:07:47 -04:00
This commit is paired with another to queue.c in the kernel. To accomodate changes in newer versions of CBMC, the --pointer-overflow-check is removed. |
||
---|---|---|
.. | ||
Makefile.json | ||
QueueCreateMutexStatic_harness.c | ||
README.md |
Given that the passed mutex storage area is not null, the QueueCreateMutexStatic function is memory safe.
Otherwise an assertion violation is triggered.
This proof is a work-in-progress. Proof assumptions are described in the harness. The proof also assumes the following functions are memory safe and have no side effects relevant to the memory safety of this function:
- vPortEnterCritical
- vPortExitCritical
- vPortGenerateSimulatedInterrupt
- xTaskGetSchedulerState
- xTaskPriorityDisinherit