Security check for C and C++ code