Search code examples
Is dereference null pointer UB in C++20?...

c++language-lawyerc++20undefined-behavior

Read More
Accessing a single value in an array of union/struct with an array member...

arraysclanguage-lawyerundefined-behavior

Read More
SIMD load across memory boundary doesn't cause segfault?...

c++segmentation-faultundefined-behaviorsimdintrinsics

Read More
do sequential non volatile loads guarantee correctness when used in the vicinity of memory remapping...

cmemoryundefined-behavior

Read More
Heapless Box in Rust...

rustmemory-managementundefined-behaviorunsaferust-no-std

Read More
Type punning with char type in C/C++...

c++undefined-behaviortype-punning

Read More
Is placement new in an union UB for SOO?...

c++c++11optimizationundefined-behaviorunions

Read More
Is it possible to have a 32-bit pointer on x86-64 without undefined behavior?...

cpointersundefined-behaviorpointer-conversion

Read More
Unwanted implicit object creation in an array of std::byte VS char...

c++charundefined-behaviorlifetimestd-byte

Read More
Why is unsigned integer overflow defined behavior but signed integer overflow isn't?...

c++cundefined-behaviorinteger-overflow

Read More
Can a function be marked noexcept if it takes a value type that may throw?...

c++c++11exceptionundefined-behaviornoexcept

Read More
Undefined Behavior when using Comma Operator in C++...

c++c++11c++17undefined-behaviorexpression-evaluation

Read More
What happens if you call free() on non allocated memory returned by a function...

cundefined-behaviorfree

Read More
Interpreting part of an array as an object by casting a pointer to an array element...

c++undefined-behaviorcpu-cachepointer-conversion

Read More
UB or not UB, concurrently operating on static memory in Rust...

rustconcurrencystaticsynchronizationundefined-behavior

Read More
Can macro-dependant access specifiers in a class definition result in undefined behavior?...

c++undefined-behavior

Read More
"Undefined behaviour" always undefined?...

cundefined-behavior

Read More
Is dividing an integer with value 0x80000000 an UB?...

cundefined-behavior

Read More
How can I get the memory distance in bytes between any two objects (if this measurement exists in a ...

c++pointerscachingundefined-behaviorpointer-arithmetic

Read More
Memory Lifetime within a process...

cmemory-managementoperating-systemsegmentation-faultundefined-behavior

Read More
Is shifting 0 to the left considered undefined behavior in C?...

clanguage-lawyerstandardsundefined-behavior

Read More
Can I assign a callable to a std::function with a different return type?...

c++undefined-behaviorstd-function

Read More
Will gcc skip this check for signed integer overflow?...

c++gccundefined-behaviorinteger-overflow

Read More
Is there a sequence point between the evaluation of a function's arguments and the assignment of...

cundefined-behaviorc23

Read More
Where is the undefined behavior when using const_cast<>?...

c++undefined-behaviorconst-cast

Read More
Does calling non-const mem. fun. on const object via non-const ref obtained via const_cast invoke UB...

c++language-lawyerundefined-behaviorconst-cast

Read More
Does the runtime dereference of a nullptr always result in Segmentation Fault?...

c++segmentation-faultundefined-behaviordereferencenullptr

Read More
Treating memory region atomically in Rust...

rustmemory-managementlockingatomicundefined-behavior

Read More
Fun with uninitialized variables and compiler (GCC)...

c++gccinitializationundefined-behavior

Read More
Signed int overflow-underflow cause undefined behaviour but how does the compiler anticipate this?...

c++undefined-behaviorinteger-overflow

Read More
BackNext