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 a misaligned load due to a cast undefined behavior?
Feb 02, 2022
c
casting
undefined-behavior
memory-alignment
Is there a way, in tests, to defend against "correct" results coming out of undefined behavior?
Apr 20, 2022
c++
unit-testing
googletest
undefined-behavior
Why in Ruby, a || 1 will throw an error when `a` is undefined, but a = a || 1 will not?
Nov 23, 2011
ruby
exception
undefined
undefined-behavior
Does this const initialization through const_cast have undefined behaviour?
Apr 02, 2022
c++
initialization
undefined
undefined-behavior
const-cast
Is full followed by partial initialization of a subobject undefined behavior?
May 13, 2022
c
initialization
undefined-behavior
How to suppress some unsigned-integer-overflow errors from UBsan?
Apr 30, 2022
c++
undefined-behavior
ubsan
Is `reinterpret_cast`ing between hardware SIMD vector pointer and the corresponding type an undefined behavior?
Jan 16, 2022
c++
x86
language-lawyer
undefined-behavior
intrinsics
Infinite loop vs infinite recursion. Are both undefined?
Sep 14, 2022
c++
loops
recursion
language-lawyer
undefined-behavior
A function declared to return int returns nothing. Is this Undefined Behavior?
May 28, 2022
c++
function
undefined-behavior
What happens when a rep-prefix is attached to a non string instruction?
Sep 20, 2022
string
assembly
x86
undefined-behavior
Is casting to simd-type undefined behaviour in C++? [duplicate]
May 13, 2022
c++
sse
undefined-behavior
simd
intrinsics
Sequence point from function call?
Sep 27, 2022
c++
c
undefined-behavior
sequence-points
Is it undefined behavior to have two pointers with different values referring to the same object?
Aug 23, 2022
c++
operating-system
undefined-behavior
memory-address
How can (x+1) > x evaluate to both 0 and 1?
Sep 05, 2022
c++
c
undefined-behavior
Why the output of `printf("%llu\n", 1ull << n);` and `printf("%llu\n", 1ull << 64);` is different in C++? (n=64) [duplicate]
Sep 19, 2022
c++
c
undefined-behavior
bit-shift
Is accessing an element of a multidimensional array out of bounds undefined behavior?
Apr 18, 2022
c
arrays
multidimensional-array
undefined-behavior
Does freeing an int* which was assigned to a char* (allocated by `malloc`) invoke Undefined Behavior?
Aug 30, 2022
c
pointers
memory
free
undefined-behavior
Pointer arithmetic using cast to "wrong" type
May 21, 2022
c++
language-lawyer
undefined-behavior
pointer-arithmetic
Does this code in C fall into the Undefined Behavior category?
Sep 26, 2019
c
arrays
language-lawyer
increment
undefined-behavior
Turbo C++: Why does printf print expected values, when no variables are passed to it?
Nov 03, 2022
c
printf
undefined-behavior
turbo-c
« Newer Entries
Older Entries »