FreeRTOS-Kernel/FreeRTOS/Test/CBMC/proofs/Task/TaskStartScheduler
2021-07-24 00:32:35 +00:00
..
Makefile.json 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
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 [AUTO][RELEASE]: Bump file header version to "202107.00" 2021-07-24 00:32:35 +00:00
TaskStartScheduler_harness.c Add uncrustify github workflow (#659) 2021-07-22 14:23:48 -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