FreeRTOS-Kernel/FreeRTOS/Test/CBMC/proofs/Task/TaskStartScheduler
Aniruddha Kanhere 1bc759d413
Aws only files spell check (#593)
* Added spell check

* All words

* Add a missing word

* Fix header checks

* Fix header checks v1

* Fix header check v2

* Updated freertos link in header

* Fixed afr link in the header

* Fix last of header checks

* Update the spell check script to check amazon licensed files only

* Fixed paths and added comments

* Try with modified repo

* Add inplace substitute option to sed

* Use official repo as the spell checker source

* Add vendor file to the ignored list

Co-authored-by: root <root@ip-172-31-5-28.us-west-2.compute.internal>
2021-05-13 16:07:56 -07: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 Aws only files spell check (#593) 2021-05-13 16:07:56 -07:00
TaskStartScheduler_harness.c 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

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