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
Can a function be marked noexcept if it takes a value type that may throw?
Sep 05, 2025
c++
c++11
exception
undefined-behavior
noexcept
Dynamic arrays in C++ without Undefined Behavior
Sep 04, 2025
c++
arrays
language-lawyer
undefined-behavior
Double free in the C++ standard library using only std::function and std::shared_pointer
Sep 05, 2025
c++
g++
undefined-behavior
libstdc++
compiler-bug
Does idiomatic initialization of a dynamic array invoke Undefined Behavior?
Sep 04, 2025
arrays
c
language-lawyer
dynamic-memory-allocation
undefined-behavior
Does the definition int a = 0, b = a++, c = a++; have defined behavior in C?
Sep 05, 2025
c
language-lawyer
undefined-behavior
sequence-points
c17
C/C++ unions and undefined behaviour
Mar 16, 2023
c++
c
language-lawyer
undefined-behavior
unions
Does iterating over my_dict.keys() and modifying the values in the dictionary invalidate the iterator?
Mar 15, 2023
python
iterator
undefined-behavior
Temporary in a function call: UB? [duplicate]
Mar 13, 2023
c++
language-lawyer
undefined-behavior
Memory confusion for strncpy in C
Mar 13, 2023
c
memory
memory-management
memory-leaks
undefined-behavior
Invalidated iterator in a vector
Mar 12, 2023
c++
vector
iterator
language-lawyer
undefined-behavior
C free memory on stack
Mar 07, 2023
c
free
undefined-behavior
Why is one of these examples undefined behavior and the other is not?
Mar 06, 2023
c++
undefined-behavior
How do compilers know C++ constexpr computations do not trigger undefined behavior?
Mar 05, 2023
c++
language-lawyer
undefined-behavior
constexpr
Is it undefined behavior to get the address of an array element that is out of bounds?
Mar 05, 2023
c
arrays
undefined-behavior
How can a literal 0 and 0 as a variable yield different behavior with the function __builtin_clz?
Mar 05, 2023
c++
gcc
assembly
undefined-behavior
intrinsics
How to catch glaring undefined behavior statically?
Mar 04, 2023
c++
undefined-behavior
clion
Is incrementing a _Bool defined?
Mar 05, 2023
c
boolean
increment
undefined-behavior
Is reading an uninitialized value always an undefined behaviour? Or are there exceptions to it?
Mar 04, 2023
c
initialization
undefined-behavior
Is the expression (a=b) = k UB?
Feb 26, 2023
c++
expression
undefined-behavior
operation on 'i' may be undefined [duplicate]
Feb 13, 2023
c
undefined-behavior
sequence-points
Older Entries »