The only sprintf()s I can find are in
- +FAT tests that aren’t running now
- File-related-CLI-commands that aren’t being used at the moment
- in tasks.c
So, the only ones that I think could matter would be in tasks.c, and I hope those are well-tested.
Find results for 'sprintf':
---------------------------
C:\Program Files (x86)\Cypress\PSoC Creator\4.3\PSoC Creator\import\gnu\arm\9.3.1\arm-none-eabi\include\stdio.h - (line 244, col 5): int sprintf (char *__restrict, const char *__restrict, ...)
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\CreateAndVerifyExampleFiles.c - (line 384, col 2): sprintf( pcFileName, "%s.txt", pcDirectory2 );
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\ff_stdio_tests_with_cwd.c - (line 322, col 4): sprintf( pcExpectedString, "%s %d\n", pcStringStart, iString );
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\ff_stdio_tests_with_cwd.c - (line 333, col 4): sprintf( pcExpectedString, "%s %d\n", pcStringStart, iString );
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 300, col 3): sprintf(pcWriteBuffer, "In: ");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 304, col 3): sprintf(pcWriteBuffer, "Error");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 388, col 3): sprintf(pcWriteBuffer, "%s was deleted", pcParameter);
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 390, col 3): sprintf(pcWriteBuffer, "Error. %s was not deleted", pcParameter);
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 420, col 3): sprintf(pcWriteBuffer, "%s was deleted", pcParameter);
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 422, col 3): sprintf(pcWriteBuffer, "Error. %s was not deleted", pcParameter);
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 467, col 3): sprintf(pcWriteBuffer, "Source file does not exist");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 477, col 4): sprintf(pcWriteBuffer, "Error: Destination is a directory not a file");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 483, col 4): sprintf(pcWriteBuffer, "Error: Destination file already exists");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 491, col 4): sprintf(pcWriteBuffer, "Copy made");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 493, col 4): sprintf(pcWriteBuffer, "Error during copy");
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\Turb_Mon.cydsn\File-related-CLI-commands.c - (line 619, col 2): sprintf(pcBuffer, "%s [%s] [size=%lu]", pxFindStruct->pcFileName, pcAttrib, (unsigned long) pxFindStruct->ulFileSize);
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\FreeRTOS\FreeRTOS\Source\tasks.c - (line 4467, col 5): sprintf( pcWriteBuffer, "\t%c\t%u\t%u\t%u\r\n", cStatus, ( unsigned int ) pxTaskStatusArray[ x ].uxCurrentPriority, ( unsigned int ) pxTaskStatusArray[ x ].usStackHighWaterMark, ( unsigned int ) pxTaskStatusArray[ x ].xTaskNumber ); /*lint !e586 sprintf() allowed as this is compiled with many compilers and this is a utility function only - not part of the core kernel implementation. */
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\FreeRTOS\FreeRTOS\Source\tasks.c - (line 4569, col 8): sprintf( pcWriteBuffer, "\t%u\t\t%u%%\r\n", ( unsigned int ) pxTaskStatusArray[ x ].ulRunTimeCounter, ( unsigned int ) ulStatsAsPercentage ); /*lint !e586 sprintf() allowed as this is compiled with many compilers and this is a utility function only - not part of the core kernel implementation. */
C:\Users\carlk\Documents\PSoC Creator\Turbmon.cydsn\FreeRTOS\FreeRTOS\Source\tasks.c - (line 4585, col 8): sprintf( pcWriteBuffer, "\t%u\t\t<1%%\r\n", ( unsigned int ) pxTaskStatusArray[ x ].ulRunTimeCounter ); /*lint !e586 sprintf() allowed as this is compiled with many compilers and this is a utility function only - not part of the core kernel implementation. */
Matches found: 19