Search code examples
Is it undefined behavior to have two pointers with different values referring to the same object?...


c++operating-systemundefined-behaviormemory-address

Read More
Interaction between post-decrement and logical operators...


c++language-lawyerundefined-behaviorside-effects

Read More
About sequence point and UB...


cundefined-behavior

Read More
Given the state of the stack and registers, can we predict the outcome of printf's undefined beh...


cgcccompilationundefined-behavior

Read More
Beginner's query about C program Function Call stack, sequence point(sequencing)...


cgccundefined-behaviorfunction-callssequence-points

Read More
Array out of range when calculate index...


c++arraysundefined-behavior

Read More
std::underlying_type : Does SFINAE prevent undefined behavior?...


c++c++11enumsundefined-behaviorsfinae

Read More
Data race with memcpy, undefined behavior?...


c++multithreadingundefined-behavior

Read More
Strange behavior of std::string as an argument of a member function...


c++objectcompilationmemberundefined-behavior

Read More
Is this an undefined behaviour?...


cpointersmallocundefined-behavior

Read More
Deal with project which may contain undefined behaviour...


c++undefined-behavior

Read More
Modifying a const variable with the volatile keyword...


cconstantsvolatileundefined-behavior

Read More
Is &arr[size] valid?...


c++arrayslanguage-lawyerundefined-behavior

Read More
Using newly declared variable in initialization (int x = x+1)?...


c++cinitializationundefined-behavior

Read More
Can I use rvalue reference to temporary? Is it undefined behavior or not?...


c++c++11language-lawyerundefined-behaviorrvalue-reference

Read More
Is it undefined behavior to pass-by-reference uninitialized variable?...


c++pass-by-referenceundefined-behavior

Read More
C safely taking absolute value of integer...


cundefined-behaviorabsolute-value

Read More
Is using an assignment operator in a function argument undefined behaviour?...


c++undefined-behavioroperator-precedence

Read More
Comma operator and void expression...


c++cundefined-behaviorcomma-operator

Read More
Does accessing an array of uint32_t with an uint16_t* lead to undefined behavior?...


cdebuggingcompiler-optimizationundefined-behaviorstrict-aliasing

Read More
const_cast const STL container, is it undefined behavior?...


c++c++11stlundefined-behaviorconst-cast

Read More
Undefined behaviour...


javac++undefined-behavior

Read More
is a[i++] = 3 undefined?...


cundefined-behavior

Read More
In a function call, why isn't comma a sequence point?...


cundefined-behaviorsequence-points

Read More
std::sort - is passing a faulty comparator undefined behavior?...


c++stlundefined-behavior

Read More
Does not evaluating the expression to which sizeof is applied make it legal to dereference a null or...


c++language-lawyersizeofundefined-behaviornull-pointer

Read More
Why can I operate with int > +32767?...


c++intrangeundefined-behavior

Read More
Is printf()'s string width safe with unterminated strings?...


cprintflanguage-lawyerundefined-behavior

Read More
Detect UB like Rust...


c++gccclangundefined-behaviorcompiler-options

Read More
Can a heap-allocated object be const in C++?...


c++constantsconst-correctnessundefined-behavior

Read More
BackNext