Search code examples
Detecting access to out-of-scope variables...


c++cvalgrindundefined-behavior

Read More
Does `printf("%.-1s\n", "foo")` invoke undefined behaviour?...


cprintflanguage-lawyerstandardsundefined-behavior

Read More
Templated Id Generator well defined behavior?...


c++undefined-behaviortemplate-meta-programmingc++17

Read More
Can undefined behaviour cause an exception in a function defined as never throwing an exception?...


c++exceptionundefined-behavior

Read More
MySQL using "-" as different...


mysqlundefined-behavior

Read More
Behaviour of arr[i] = i++ and i = i + 1 statements in C and C++...


c++cc++14undefined-behaviorsequence-points

Read More
Try catch scoping of class variable initialisation...


c++windowsexceptionundefined-behaviorscoping

Read More
How to suppress some unsigned-integer-overflow errors from UBsan?...


c++undefined-behaviorubsan

Read More
Not able to initialize the callback in my c code. Incompatible reference type causing the undefined ...


cooppointerscallbackundefined-behavior

Read More
Why is returning a non-initialized value considered undefined behavior?...


cinitializationundefined-behavior

Read More
Are functions calls in a constructor's initializer-list sequenced?...


c++language-lawyerundefined-behavioroperator-precedenceinitialization-order

Read More
undefined behaviour: strtok...


cundefined-behaviorstrtok

Read More
Can branches with undefined behavior be assumed unreachable and optimized as dead code?...


c++language-lawyerundefined-behaviordead-codeunreachable-code

Read More
Is it UB to use zero multiplied uninitialized variable?...


cundefined-behavior

Read More
Load of address X with insufficient space for an object of type Y...


c++gccundefined-behaviorubsan

Read More
Cast T[][] to T*...


carrayspointersundefined-behavior

Read More
Definition of Undefined behaviour...


c++cstandardsundefined-behavior

Read More
Can I "over-extend" an array by allocating more space to the enclosing struct?...


carrayslanguage-lawyerundefined-behaviorflexible-array-member

Read More
Incrementing NULL pointer in C...


cpointersnullundefined-behavior

Read More
Why does this smart pointer give the correct result when its target should have been deleted?...


c++smart-pointersundefined-behavior

Read More
Casting away const-ness of method...


c++constantsundefined-behaviorconst-cast

Read More
Writing to class member through const &...


c++constantsundefined-behaviorconst-cast

Read More
Variable contain undef value in perl...


regexperlundefined-behaviorremoving-whitespace

Read More
Dereference null is not always UB?...


c++language-lawyerundefined-behavior

Read More
Strict aliasing rule: static_cast vs reinterpret_cast...


c++castingundefined-behavior

Read More
Use of a deleted pointer address...


c++undefined-behavior

Read More
Are mmap and VirtualAlloc compliant with the C standard?...


cundefined-behavior

Read More
2 pointers, 0 bytes difference but not equal...


c++pointersundefined-behavior

Read More
Manually calling destructor before delete...


c++destructorundefined-behaviordelete-operator

Read More
Union of different types and sizes of pointers...


cpointersundefined-behaviorunionsstrict-aliasing

Read More
BackNext