Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in undefined-behavior
Is "*this = {}" valid inside a member function for reset in CPP
Nov 02, 2025
c++
performance
coding-style
undefined-behavior
Why doesn't -fsanitize=undefined pick up on (what I think is) UB?
Nov 01, 2025
c++
g++
undefined-behavior
sanitizer
Understanding Virtual Functions when Deriving from Multiple Classes
Nov 01, 2025
c++
multiple-inheritance
undefined-behavior
virtual-functions
reinterpret-cast
Why is integer overflow undefined behavior only for signed integers, and not for unsigned integers?
Oct 31, 2025
c++
undefined-behavior
integer-overflow
Sequence point && operator
Oct 29, 2025
c++
undefined-behavior
c++03
operator-precedence
sequence-points
Understanding implicit lifetime creation and aliasing in C++
Oct 29, 2025
c++
clang
language-lawyer
undefined-behavior
type-punning
Can you overwrite the memory of a union, if no members are active?
Oct 28, 2025
c++
language-lawyer
undefined-behavior
unions
c++23
Why does the clang sanitizer think this left shift of an unsigned number is undefined?
Oct 28, 2025
c++
undefined-behavior
sanitizer
Is it defined behaviour to assign to function call in or in if (C++17)
Oct 27, 2025
c++
c++17
undefined-behavior
why would the optimization ignore the if statement when function has warning [-Wreturn-type]?
Oct 27, 2025
c++
assembly
optimization
compiler-optimization
undefined-behavior
How does clang manage to compile this code with undefined behavior into this machine code?
Oct 27, 2025
c++
compilation
clang
compiler-optimization
undefined-behavior
Is pointer arithmetic still well defined after casting with alignment violation?
Oct 24, 2025
c
undefined-behavior
memory-alignment
c11
pointer-arithmetic
If I decrement `std::size_t(0)` is that guaranteed to be equal to `std::size_t(-1)`?
Oct 26, 2025
c++
undefined-behavior
integer-overflow
unsigned-integer
Is a program where undefined behavior (UB) is conditional on implementation leeway a program with unconditional UB?
Oct 26, 2025
c++
language-lawyer
undefined-behavior
Is assigning a number too big to be represented in a bit field undefined behaviour
Oct 26, 2025
c
segmentation-fault
undefined-behavior
bit-fields
Storing Zero-Sized type instance into a null pointer
Oct 25, 2025
pointers
rust
undefined-behavior
unsafe
Can clang warn about undefined behavior at compile-time?
Oct 25, 2025
c++
clang
undefined-behavior
Members wrongly initialized in nested aggregate? (MSVC)
Oct 24, 2025
c++
visual-c++
c++20
undefined-behavior
Are you allowed to copy a pointer and call delete on the copy?
Oct 22, 2025
c++
undefined-behavior
delete-operator
Is using the address of an uninitialized variable UB? [duplicate]
Oct 23, 2025
c
printf
undefined-behavior
variadic-functions
« Newer Entries
Older Entries »