mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 09:17:44 -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. |
||
---|---|---|
.. | ||
Configurations.json | ||
prvNotifyQueueSetContainer_harness.c | ||
README.md |
This harness proves the memory safety of the prvNotifyQueuSetContainer method. It assumes that the queue is initalized to a valid datastructure and added to a QueueSet. The concurrency functions and task pool functions are abstracted away. prvCopyDataToQueue is replaced with a stub checking the preconditions for prvCopyDataToQueue to be sucessful.
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
- xTaskRemoveFromEventList