1# libboundscheck 2 3#### Description 4 5- following the standard of C11 Annex K (bound-checking interfaces), functions of the common memory/string operation classes, such as memcpy_s, strcpy_s, are selected and implemented. 6 7- other standard functions in C11 Annex K will be analyzed in the future and implemented in this organization if necessary. 8 9- handles the release, update, and maintenance of bounds_checking_function. 10 11#### Function List 12 13- memcpy_s 14- wmemcpy_s 15- memmove_s 16- wmemmove_s 17- memset_s 18- strcpy_s 19- wcscpy_s 20- strncpy_s 21- wcsncpy_s 22- strcat_s 23- wcscat_s 24- strncat_s 25- wcsncat_s 26- strtok_s 27- wcstok_s 28- sprintf_s 29- swprintf_s 30- vsprintf_s 31- vswprintf_s 32- snprintf_s 33- vsnprintf_s 34- scanf_s 35- wscanf_s 36- vscanf_s 37- vwscanf_s 38- fscanf_s 39- fwscanf_s 40- vfscanf_s 41- vfwscanf_s 42- sscanf_s 43- swscanf_s 44- vsscanf_s 45- vswscanf_s 46- gets_s 47 48 49#### Build 50 51``` 52CC=gcc make 53``` 54The generated Dynamic library libboundscheck.so is stored in the newly created directory lib. 55 56#### How to use 571. Copy the libboundscheck.so to the library file directory, for example: "/usr/local/lib/". 58 592. To use the libboundscheck, add the “-lboundscheck” parameters to the compiler, for example: “gcc -g -o test test.c -lboundscheck”.