mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-16 01:37:45 -04:00
* Revert cbmc-viewer flags * Add cbmc-viewer configuration files * Repair CBMC patch to prvCopyDataToQueue Authored-by: Mark R. Tuttle <mrtuttle@amazon.com> |
||
---|---|---|
.. | ||
cbmc-viewer.json | ||
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