Lines Matching refs:undefined

11 UndefinedBehaviorSanitizer (UBSan) is a fast undefined behavior detector.
12 UBSan modifies the program at compile-time to catch various kinds of undefined
33 Use ``clang++`` to compile and link your program with ``-fsanitize=undefined``
46 % clang++ -fsanitize=undefined test.cc
86 ``-fsanitize=local-bounds`` is not included in ``-fsanitize=undefined``.
96 zero. This is undefined per the C and C++ standards, but is defined
98 infinity or NaN value, so is not included in ``-fsanitize=undefined``.
111 Issues caught by these sanitizers are not undefined behavior,
117 Issues caught by this sanitizer are not undefined behavior,
131 to an incompatible type. This is often unintentional, but is not undefined
132 behavior, therefore the check is not a part of the ``undefined`` group.
136 This will also detect some types of undefined behavior that may not
169 type. Unlike signed integer overflow, this is not undefined behavior, but
182 - ``-fsanitize=undefined``: All of the checks listed above other than
186 - ``-fsanitize=undefined-trap``: Deprecated alias of
187 ``-fsanitize=undefined``.
199 - ``-fsanitize=integer``: Checks for undefined or suspicious integer
208 nullability does not have undefined behavior, it is often unintentional,
227 ``-fsanitize=undefined``, you could enable the minimal runtime with
228 ``-fsanitize=undefined -fsanitize-minimal-runtime``.
260 Disabling Instrumentation with ``__attribute__((no_sanitize("undefined")))``
264 ``__attribute__((no_sanitize("undefined")))``. You can use all values of
309 * Check groups (like ``undefined``) can't be used in suppressions file, only
341 ``-fsanitize-undefined-strip-path-components=N`` can be used to trim this
351 * Default (No flag, or ``-fsanitize-undefined-strip-path-components=0``): ``/code/library/file.cpp``
352 * ``-fsanitize-undefined-strip-path-components=1``: ``code/library/file.cpp``
353 * ``-fsanitize-undefined-strip-path-components=2``: ``library/file.cpp``
354 * ``-fsanitize-undefined-strip-path-components=-1``: ``file.cpp``
355 * ``-fsanitize-undefined-strip-path-components=-2``: ``library/file.cpp``