Commit a369c52
Fix potential out of bounds write (CWE-787) when processing LLMNR or mDNS queries (#1259)
* [Draft] CBMC: replace any missing functions by assert-false (#1147)
* CBMC: replace any missing functions by assert-false
---------
Co-authored-by: ActoryOu <[email protected]>
* Adjust proof tooling to support CBMC v6 (#1180)
* Adjust proof tooling to support CBMC v6
With CBMC v6, unwinding assertions as well as other checks are enabled
by default.
* Fix CBMC issues
* Fix spelling & formatting
* Fix build-check
* Add unit test cases for FreeRTOS_multiply_int32 and FreeRTOS_add_int32
* Tony's comment
* Bump CBMC version to very latest release
* Replace Synopsys link with blackduck one to solve link error.
* Move the comment to the right place
---------
Co-authored-by: Tony Josi <[email protected]>
Co-authored-by: ActoryOu <[email protected]>
Co-authored-by: ActoryOu <[email protected]>
* Fix potential out of bounds write (CWE-787) when processing LLMNR or mDNS queries
* Fix CI
* Add Network Down event in EMACHandler Task (#1173)
* Add Network Down event in EMACHandler Task
* Update links in ReadMe (#1174)
---------
Co-authored-by: Michael Tautschnig <[email protected]>
Co-authored-by: ActoryOu <[email protected]>
Co-authored-by: ActoryOu <[email protected]>
Co-authored-by: Rahul Kar <[email protected]>1 parent abcb94c commit a369c52
File tree
174 files changed
+2798
-604
lines changed- .github
- workflows
- source
- include
- portable
- BufferManagement
- Compiler
- CompilerName
- GCC
- IAR
- Keil
- MPLAB_XC
- MSVC
- Renesas
- Tasking
- NetworkInterface
- M487
- STM32Hxx
- Zynq
- board_family
- pic32mzef
- xilinx_ultrascale
- test
- Coverity
- ConfigFiles
- build-combination
- AllDisable
- AllEnable
- Enable_IPv4_IPv6
- Enable_IPv4_TCP
- Enable_IPv4
- Enable_IPv6_TCP
- Enable_IPv6
- Header_Self_Contain
- cbmc
- patches
- proofs
- ARP
- ARPAgeCache
- ARPGetCacheEntry
- ARPProcessPacket
- ARPSendGratuitous
- ARP_FreeRTOS_OutputARPRequest
- ARP_OutputARPRequest_buffer_alloc1
- ARP_OutputARPRequest_buffer_alloc2
- CheckOptionsInner
- CheckOptionsOuter
- DHCPv6
- DHCPv6Analyse
- DHCPv6HandleOption
- DHCPv6ProcessEndPoint
- DHCPv6Process
- SendDHCPMessage
- DHCP
- DHCPProcessEndPoint
- DHCPProcess
- DNS_ParseDNSReply
- DNS
- CreateDNSMessage
- DNSHandlePacket
- DNSTreatNBNS
- DNSgetHostByName_a
- DNSgetHostByName_cancel
- DNSgetHostByName
- prepareReplyDNSMessage
- IP
- ProcessEthernetPacket
- SendEventToIPTask
- ND
- prvProcessICMPMessage_IPv6
- prvReturnICMP_IPv6
- RA
- vReceiveRA_ReadReply
- vReceiveRA
- Routing/MatchingEndpoint
- Socket
- lTCPAddRxdata
- vSocketBind/ALLOW_ETHERNET_DRIVER_FILTERS_PACKETS
- vSocketClose
- TCP
- prvHandleListen_IPv6
- prvHandleListen
- prvSendData
- prvTCPHandleState
- prvTCPPrepareSend
- prvTCPReturnPacket_IPv6
- prvTCPReturnPacket
- UDP/vProcessGeneratedUDPPacket
- parsing
- ProcessIPPacket
- ProcessReceivedTCPPacket_IPv6
- ProcessReceivedTCPPacket
- ProcessReceivedUDPPacket
- prvChecksumIPv6Checks
- stubs
- unit-test
- ConfigFiles
- FreeRTOS_ARP_DataLenLessThanMinPacket
- FreeRTOS_DHCPv6
- FreeRTOS_DNS_ConfigNoCallback
- FreeRTOS_DNS_Parser
- FreeRTOS_DNS
- FreeRTOS_IP_DiffConfig1
- FreeRTOS_IP_DiffConfig2
- FreeRTOS_IP_DiffConfig3
- FreeRTOS_IP_DiffConfig
- FreeRTOS_IP_Utils_DiffConfig
- FreeRTOS_IP_Utils
- FreeRTOS_IPv4_DiffConfig1
- FreeRTOS_IPv4_DiffConfig
- FreeRTOS_IPv6_ConfigDriverCheckChecksum
- FreeRTOS_IPv6_Utils
- FreeRTOS_IPv6
- FreeRTOS_Routing_ConfigCompatibleWithSingle
- FreeRTOS_Routing_ConfigV4Only
- FreeRTOS_Routing
- FreeRTOS_Sockets_DiffConfig1
- FreeRTOS_Sockets_DiffConfig
- FreeRTOS_TCP_IP_DiffConfig
- FreeRTOS_TCP_Reception
- FreeRTOS_TCP_WIN
- FreeRTOS_Tiny_TCP
- FreeRTOS_UDP_IPv4
- FreeRTOS_UDP_IPv6
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
174 files changed
+2798
-604
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
920 | 921 | | |
921 | 922 | | |
922 | 923 | | |
| 924 | + | |
923 | 925 | | |
924 | 926 | | |
925 | 927 | | |
| |||
1263 | 1265 | | |
1264 | 1266 | | |
1265 | 1267 | | |
| 1268 | + | |
1266 | 1269 | | |
1267 | 1270 | | |
1268 | 1271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
884 | | - | |
| 884 | + | |
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | | - | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
1504 | 1510 | | |
1505 | 1511 | | |
1506 | 1512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
487 | 491 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
| 492 | + | |
| 493 | + | |
507 | 494 | | |
508 | | - | |
| 495 | + | |
509 | 496 | | |
510 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
511 | 508 | | |
| 509 | + | |
| 510 | + | |
512 | 511 | | |
513 | 512 | | |
514 | 513 | | |
| |||
537 | 536 | | |
538 | 537 | | |
539 | 538 | | |
540 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
1093 | 1102 | | |
1094 | 1103 | | |
1095 | 1104 | | |
1096 | | - | |
| 1105 | + | |
1097 | 1106 | | |
1098 | 1107 | | |
1099 | 1108 | | |
| |||
1208 | 1217 | | |
1209 | 1218 | | |
1210 | 1219 | | |
1211 | | - | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1212 | 1225 | | |
1213 | 1226 | | |
1214 | 1227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
1697 | 1772 | | |
1698 | 1773 | | |
1699 | 1774 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
241 | 251 | | |
242 | 252 | | |
243 | 253 | | |
| |||
430 | 440 | | |
431 | 441 | | |
432 | 442 | | |
433 | | - | |
| 443 | + | |
434 | 444 | | |
435 | 445 | | |
436 | 446 | | |
| |||
0 commit comments