Skip to content

Commit

Permalink
debugging: slides: add mention to glibc macros to enable runtime checks
Browse files Browse the repository at this point in the history
Fix #228

Signed-off-by: Alexis Lothoré <[email protected]>
  • Loading branch information
Tropicao committed Apr 2, 2024
1 parent 6857e4f commit 1d69507
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ \subsection{Good practices}
\item GCC allows to do so using the \href{https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/Static-Analyzer-Options.html}{-fanalyzer} flag
\item LLVM provides \href{https://clang-analyzer.llvm.org/command-line.html}{dedicated tools} that can be used in build process
\end{itemize}
\item You can also enable component-specific helpers/hardening
\begin{itemize}
\item If you are using the GNU C library, you can for example enable
\href{https://www.gnu.org/software/libc/manual/html_node/Source-Fortification.html}{\_FORTIFY\_SOURCE}
macro to add runtime checks on inputs (e.g: buffers)
\end{itemize}
\end{itemize}
\end{frame}

Expand Down

0 comments on commit 1d69507

Please sign in to comment.