FreeRTOS-Kernel/include
Gaurav-Aggarwal-AWS 96d6190b61
Replace sprintf with snprintf (#802)
This change necessitates the introduction of 2 new APIs:

void vTaskListTasks( char * pcWriteBuffer, size_t uxBufferLength );
void vTaskGetRunTimeStatistics( char * pcWriteBuffer, size_t uxBufferLength );

These 2 APIs behave exactly as vTaskList and vTaskGetRunTimeStats
except the fact that they take the length of the pcWriteBuffer as the
second argument to ensure that we do not write past the buffer.

vTaskList and vTaskGetRunTimeStats assume that the length of the
buffer is configSTATS_BUFFER_MAX_LENGTH which defaults to 0xFFFF.
This is done to ensure that the existing applications do not break.
New applications should use the new APIs to avoid memory corruption.
2023-09-26 23:07:18 +05:30
..
atomic.h Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
CMakeLists.txt Fix circular dependency in CMake project (#700) 2023-07-10 15:08:59 -07:00
croutine.h Remove empty expression statement compiler warning (#692) 2023-07-06 10:44:24 +08:00
deprecated_definitions.h Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
event_groups.h Add runtime parameter checks (#761) 2023-08-18 14:24:44 +05:30
FreeRTOS.h Replace sprintf with snprintf (#802) 2023-09-26 23:07:18 +05:30
list.h Feature/fixing clang gnu compiler warnings (#620) 2023-02-23 23:35:04 +05:30
message_buffer.h Add functions to get the buffers of statically created objects (#641) 2023-03-22 15:27:57 -07:00
mpu_prototypes.h Fix prototype in mpu_prototypes.h (#797) 2023-09-20 10:14:39 +05:30
mpu_wrappers.h Add Access Control List to MPU ports (#765) 2023-09-18 15:34:42 +05:30
newlib-freertos.h Paranthesize expression-like macro (#668) 2023-04-28 14:05:56 -07:00
picolibc-freertos.h Fix pxTopOfStack calculation in configINIT_TLS_BLOCK for picolib (#739) 2023-08-07 11:52:52 +05:30
portable.h Add Access Control List to MPU ports (#765) 2023-09-18 15:34:42 +05:30
projdefs.h Add missing FreeRTOS+ defines 2023-03-14 09:23:57 -07:00
queue.h xQueueSendToFromFromISR --> xQueueSendToFrontFromISR (#795) 2023-09-20 14:33:56 +05:30
semphr.h Update xSemaphoreGetStaticBuffer prototype in comment (#704) 2023-07-17 16:12:05 +05:30
stack_macros.h Remove empty expression statement compiler warning (#692) 2023-07-06 10:44:24 +08:00
StackMacros.h Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
stdint.readme Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
stream_buffer.h Add functions to get the buffers of statically created objects (#641) 2023-03-22 15:27:57 -07:00
task.h Replace sprintf with snprintf (#802) 2023-09-26 23:07:18 +05:30
timers.h Merge SMP feature to main (#716) 2023-07-24 19:24:15 +08:00