Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Is using enum class for flags undefined behavior?

Is it undefined behavior in C to cast function pointers operating on derived structs up to functions operating on the base type?

Does casting to an unrelated reference type violate the strict aliasing rule?

Unexpected memcpy on uncopyable & unmovable type when using co_await

C++23 range-based for loop lifetime fixes interraction with `std::generator` arguments

Is use of uninitialized static object well-defined in C++?

Rust FFI and Aliasing: C -> Rust -> C -> Rust call stacks with C values being aliased: Undefined Behaviour?

rust undefined-behavior ffi

How does casting and calling obj_msgSend() not invoke undefined behavior?

std::bit_cast padding and undefined behavior

Is dereference null pointer UB in C++20?

Is the use of unknown escape sequence invokes undefined behavior in C++?

Little endian and overwriting memory location