diff options
| -rw-r--r-- | .github/workflows/documentation.yaml | 18 | ||||
| -rw-r--r-- | README.md | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml new file mode 100644 index 0000000..91f611f --- /dev/null +++ b/.github/workflows/documentation.yaml | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | name: Check that the README is up to date | ||
| 2 | |||
| 3 | on: | ||
| 4 | pull_request: | ||
| 5 | push: | ||
| 6 | |||
| 7 | jobs: | ||
| 8 | latest: | ||
| 9 | runs-on: ubuntu-latest | ||
| 10 | steps: | ||
| 11 | - name: Checking out the code | ||
| 12 | uses: actions/checkout@v3 | ||
| 13 | - run: | | ||
| 14 | for function in $(find include/ -type f -exec sed -n 's/^_FORTIFY_FN(\([^)]\+\)).*/\1/p' '{}' ';' | sort | uniq) | ||
| 15 | do | ||
| 16 | grep "\`$function\`" README.md || (echo "Please add \`$function\` to the README.md file." && exit 1) | ||
| 17 | done | ||
| 18 | |||
| @@ -59,9 +59,14 @@ At this point, the program will safely crash. | |||
| 59 | - `FD_SET` | 59 | - `FD_SET` |
| 60 | - `bcopy` | 60 | - `bcopy` |
| 61 | - `bzero` | 61 | - `bzero` |
| 62 | - `calloc` | ||
| 62 | - `confstr` | 63 | - `confstr` |
| 64 | - `fdopen` | ||
| 63 | - `fgets` | 65 | - `fgets` |
| 64 | - `fgetws` | 66 | - `fgetws` |
| 67 | - `fmemopen` | ||
| 68 | - `fopen` | ||
| 69 | - `fprintf` | ||
| 65 | - `fread` | 70 | - `fread` |
| 66 | - `fwrite` | 71 | - `fwrite` |
| 67 | - `getcwd` | 72 | - `getcwd` |
| @@ -69,22 +74,31 @@ At this point, the program will safely crash. | |||
| 69 | - `getgroups` | 74 | - `getgroups` |
| 70 | - `gethostname` | 75 | - `gethostname` |
| 71 | - `getlogin_r` | 76 | - `getlogin_r` |
| 77 | - `malloc` | ||
| 72 | - `mbsnrtowcs` | 78 | - `mbsnrtowcs` |
| 73 | - `mbsrtowcs` | 79 | - `mbsrtowcs` |
| 74 | - `mbstowcs` | 80 | - `mbstowcs` |
| 81 | - `memchr` | ||
| 75 | - `memcpy` | 82 | - `memcpy` |
| 76 | - `memmove` | 83 | - `memmove` |
| 77 | - `mempcpy` | 84 | - `mempcpy` |
| 78 | - `memset` | 85 | - `memset` |
| 79 | - `poll` | 86 | - `poll` |
| 87 | - `popen` | ||
| 80 | - `ppoll` | 88 | - `ppoll` |
| 81 | - `pread` | 89 | - `pread` |
| 90 | - `printf` | ||
| 91 | - `pwrite` | ||
| 92 | - `qsort` | ||
| 82 | - `read` | 93 | - `read` |
| 83 | - `readlink` | 94 | - `readlink` |
| 84 | - `readlinkat` | 95 | - `readlinkat` |
| 96 | - `realloc` | ||
| 97 | - `reallocarray` | ||
| 85 | - `realpath` | 98 | - `realpath` |
| 86 | - `recv` | 99 | - `recv` |
| 87 | - `recvfrom` | 100 | - `recvfrom` |
| 101 | - `select` | ||
| 88 | - `send` | 102 | - `send` |
| 89 | - `sendto` | 103 | - `sendto` |
| 90 | - `snprintf` | 104 | - `snprintf` |
| @@ -100,7 +114,11 @@ At this point, the program will safely crash. | |||
| 100 | - `strncat` | 114 | - `strncat` |
| 101 | - `strncpy` | 115 | - `strncpy` |
| 102 | - `strrchr` | 116 | - `strrchr` |
| 117 | - `tmpfile` | ||
| 103 | - `ttyname_r` | 118 | - `ttyname_r` |
| 119 | - `umask` | ||
| 120 | - `vfprintf` | ||
| 121 | - `vprintf` | ||
| 104 | - `vsnprintf` | 122 | - `vsnprintf` |
| 105 | - `vsprintf` | 123 | - `vsprintf` |
| 106 | - `wcrtomb` | 124 | - `wcrtomb` |
