User Tools

Site Tools


ubsan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubsan [2016/03/15 23:36] (current)
didier created
Line 1: Line 1:
 +Supported as of GCC 5.1:
 +<​code>​CC=gcc-5.1.0 CFLAGS='​-fsanitize-undefined-trap-on-error -fsanitize=address -fsanitize=undefined -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds ​ -fsanitize=alignment -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr'</​code>​
 +
 +Not supported yet:
 +<​code>​-fsanitize=bounds-strict</​code>​
 +
 +Help: https://​gcc.gnu.org/​onlinedocs/​gcc/​Instrumentation-Options.html
  
ubsan.txt · Last modified: 2016/03/15 23:36 by didier