FreeRTOS-Kernel/FreeRTOS/Test/CBMC/proofs/Task/TaskStartScheduler
Gaurav-Aggarwal-AWS 66de13ce1b
Update FreeRTOS-Kernel submodule pointer (#1316)
Update FreeRTOS-Kernel submodule pointer

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-12-26 10:57:39 +05:30
..
cbmc-viewer.json Add CBMC viewer configuration files (#683) 2021-09-13 21:23:35 -04:00
Makefile.json Update FreeRTOS-Kernel submodule pointer (#1316) 2024-12-26 10:57:39 +05:30
README.md Copying CBMC proofs from aws/amazon-freertos repo ./tools/cbmc to this repo ./FreeRTOS/Test/CBMC as is. 2020-03-31 14:21:53 -07:00
tasks_test_access_functions.h Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083) 2023-09-06 12:35:37 -07:00
TaskStartScheduler_harness.c Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. (#1083) 2023-09-06 12:35:37 -07:00

This proof demonstrates the memory safety of the TaskStartScheduler function. We assume that buffers for pxIdleTaskTCB and pxTimerTaskTCB (and their associated stacks pxIdleTaskStack and pxTimerTaskStack) have been previously allocated. The arguments passed by reference to vApplicationGetIdleTaskMemory and vApplicationGetTimerTaskMemory are assigned to these pointers since both functions expect statically-allocated buffers to be passed.

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:

  • pxPortInitialiseStack
  • vConfigureTimerForRunTimeStats
  • vPortEnterCritical
  • vPortExitCritical
  • xPortStartScheduler