mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-20 10:35:14 -05:00
* move CBMC proofs to FreeRTOS+ directory * Failing proofs corrected * ParseDNSReply proof added back * removed queue_init.h from -Plus/Test Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
28 lines
947 B
Markdown
28 lines
947 B
Markdown
This is the memory safety proof for DHCPProcess function, which is the
|
|
function that triggers the DHCP protocol.
|
|
|
|
The main stubs in this proof deal with buffer management, which assume
|
|
that the buffer is large enough to accomodate a DHCP message plus a
|
|
few additional bytes for options (which is the last, variable-sized
|
|
field in a DHCP message). We have abstracted away sockets, concurrency
|
|
and third-party code. For more details, please check the comments on
|
|
the harness file.
|
|
|
|
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:
|
|
|
|
* FreeRTOS_sendto
|
|
* FreeRTOS_setsockopt
|
|
* FreeRTOS_socket
|
|
* ulRand
|
|
* vARPSendGratuitous
|
|
* vApplicationIPNetworkEventHook
|
|
* vLoggingPrintf
|
|
* vPortEnterCritical
|
|
* vPortExitCritical
|
|
* vReleaseNetworkBufferAndDescriptor
|
|
* vSocketBind
|
|
* vSocketClose
|
|
|