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
Signed int overflow-underflow cause undefined behaviour but how does the compiler anticipate this?
Nov 23, 2025
c++
undefined-behavior
integer-overflow
Why is the behaviour of this code undefined in C?
Nov 23, 2025
c
undefined-behavior
Unexpected results when using printf
Nov 23, 2025
c
type-conversion
printf
undefined-behavior
Are multidimensional array accesses sequenced?
Nov 21, 2025
arrays
c
multidimensional-array
undefined-behavior
order-of-execution
Reference list element then popping it, is it undefined behaviour?
Nov 21, 2025
c++
language-lawyer
undefined-behavior
Is it safe to call `.as_ref()` or `.as_mut()` on `NonNull<[u8]>` from `Allocator::allocate()` before initialization? (Rust `allocator_api`)
Nov 20, 2025
rust
undefined-behavior
Is difference between two pointers pointing to the same deallocated array well-defined in C?
Nov 18, 2025
c
pointers
language-lawyer
undefined-behavior
Why is my compiler "optimizing" this for loop into an infinite loop when compiled with -O3 in C++
Nov 18, 2025
c++
compiler-errors
infinite-loop
compiler-optimization
undefined-behavior
Java thinks C:\ drive is hidden?
Nov 16, 2025
java
file
undefined-behavior
Compound literal is created once for a given scope
Nov 16, 2025
c
language-lawyer
undefined-behavior
compound-literals
Is it legal to cast a repr(C) struct pointer to pointer to its first field?
Nov 15, 2025
rust
language-lawyer
undefined-behavior
Any reason why 0.0/0.0 makes negative nan in C++?
Nov 15, 2025
c++
nan
undefined-behavior
Is passing pointer to an array as pointer to pointer UB in C?
Nov 09, 2025
c
pointers
language-lawyer
undefined-behavior
implicit-conversion
Is it undefined behavior to access an array out of bounds if I know what data is at the accessed adress?
Nov 07, 2025
c++
stack
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
« Newer Entries
Older Entries »