Skip to content

feat: Replaced gcc allocator with FreeRTOS allocator for secure world #117

feat: Replaced gcc allocator with FreeRTOS allocator for secure world

feat: Replaced gcc allocator with FreeRTOS allocator for secure world #117

Triggered via pull request July 30, 2024 06:15
Status Success
Total duration 1m 5s
Artifacts

linter.yml

on: pull_request
cpp-linter
57s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
common/heap_4.c:117:36 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L117
variable 'ucHeap' is non-const and globally accessible, consider making it const
common/heap_4.c:151:36 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L151
variable 'xStart' is non-const and globally accessible, consider making it const
common/heap_4.c:151:46 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L151
variable 'pxEnd' is non-const and globally accessible, consider making it const
common/heap_4.c:151:46 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L151
variable 'pxEnd' provides global access to a non-const object; consider making the pointed-to data 'const'
common/heap_4.c:155:31 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L155
variable 'xFreeBytesRemaining' is non-const and globally accessible, consider making it const
common/heap_4.c:156:31 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L156
variable 'xMinimumEverFreeBytesRemaining' is non-const and globally accessible, consider making it const
common/heap_4.c:157:31 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L157
variable 'xNumberOfSuccessfulAllocations' is non-const and globally accessible, consider making it const
common/heap_4.c:158:31 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L158
variable 'xNumberOfSuccessfulFrees' is non-const and globally accessible, consider making it const
common/heap_4.c:164:31 [cppcoreguidelines-avoid-non-const-global-variables]: common/heap_4.c#L164
variable 'xBlockAllocatedBit' is non-const and globally accessible, consider making it const
common/heap_4.c:168:8 [readability-function-cognitive-complexity]: common/heap_4.c#L168
function 'pvPortMalloc' has cognitive complexity of 39 (threshold 25)