Search code examples
Clang: How do I see where and why an ud2 instruction was generated?...

c++clangundefined-behaviorinstructions

Read More
How does casting and calling obj_msgSend() not invoke undefined behavior?...

cobjective-cfunction-pointersundefined-behaviorobjc-message-send

Read More
Put null byte at the end of C array...

arrayscc-stringsundefined-behaviornull-terminated

Read More
Do these inline functions cause undefined behavior...

c++undefined-behavior

Read More
Different behavior in debug and release...

c++debuggingvisual-c++undefined-behavior

Read More
What wording makes this double-free-causing call `std::vector<T>::clear()` in `T`'s constr...

c++vectorlanguage-lawyerundefined-behaviordouble-free

Read More
Contradictions on restrictions for objects outside of lifetime...

c++language-lawyerundefined-behaviorlifetime

Read More
Is conditionally not modifying constant data undefined behavior in C?...

cconstantsundefined-behavior

Read More
What can go wrong if cout.rdbuf() is used to switch buffer and never set it back?...

c++fstreamundefined-behaviorstreambuf

Read More
Explicit call to destructor...

c++destructorundefined-behaviorlifetimeexplicit-destructor-call

Read More
Difference between Undefined Behavior and Ill-formed, no diagnostic message required...

c++language-lawyerundefined-behavior

Read More
Is this also an undefined behavior in Ansi C?...

cundefined-behavioransi-c

Read More
Does reading an uninitialized malloc() memory invoke Undefined Behaviors?...

cmallocundefined-behavior

Read More
Is writing over a not deinitialized object undefined behavior?...

pointersmemoryrustreferenceundefined-behavior

Read More
C calling free on not allocated memory...

cpointersundefined-behaviorfree

Read More
Dynamically allocated C array suddenly getting modified...

cdynamic-memory-allocationundefined-behaviorrealloc

Read More
C++ UBSAN produces false positives with derived objects...

c++undefined-behaviorubsan

Read More
Why am I getting an "a.exe has stopped working" error on Visual Studio Code for my linked ...

c++linked-listsingly-linked-listundefined-behaviornull-pointer

Read More
How to intrepret paragraph 1 of section 6.3.1.4 of C11 standard (about converting float to unsigned ...

clanguage-lawyerundefined-behavior

Read More
Union with volatile and non-volatile standard layout types...

c++language-lawyerundefined-behaviorvolatileunions

Read More
Custom destruction and deallocation of new'd object...

c++undefined-behaviorrtti

Read More
Is the code below well formed, in particular regarding aliasing rules?...

c++undefined-behaviorunionsstrict-aliasing

Read More
Unlocking an already unlocked thread...

cmultithreadingpthreadsundefined-behaviorcompiler-specific

Read More
Is signed integer overflow still undefined behavior in C++?...

c++c++11undefined-behaviorinteger-overflow

Read More
C++ Issue with scope?...

c++pointersscopeundefined-behaviorstorage-duration

Read More
How do I convert an arbitrary double to an integer while avoiding undefined behavior?...

c++type-conversionlanguage-lawyerundefined-behavior

Read More
(Where) Does clang document implementation-defined behavior?...

cgccclangundefined-behavior

Read More
string.clear() does not remove element properly...

c++stringundefined-behavior

Read More
Is range-based for-loop to iterate over an char[] is undefined-behavior?...

c++c++11undefined-behaviorranged-loops

Read More
what is the meaning of declaration e.g. void a(string b=0)...

c++parametersconstructorundefined-behaviordefault-arguments

Read More
BackNext