Skip to content
Commit f27c8ac8 authored by Gergely Fűtő's avatar Gergely Fűtő Committed by Whisperity
Browse files

[clang-tidy] Add the `bugprone-unsafe-functions` check

Checks for unsafe functions, mostly those listed in the
SEI CERT C Coding Standard Recommendation `MSC24-C` and Rule `MSC33-C`.

For the listed functions, an alternative, more secure replacement is
suggested, if such is available. The checker heavily relies on the
functions from "Annex K" (Bounds-checking interfaces) from C11, but
there are several other recommendations not directly from Annex K.

Differential Revision: http://reviews.llvm.org/D91000



Reviewed-By: aaron.ballman, dkrupp, steakhal, whisperity

Co-Authored-By: default avatarTamás Koller <koller.tamas1996@gmail.com>
Co-Authored-By: default avatarBalázs Benics <balazs.benics@sigmatechnology.se>
Co-Authored-By: default avatarWhisperity <whisperity@gmail.com>
parent fb91f0a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment