Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

initial or terminal malloc buffer possible?

Why does static_cast conversion speed up an un-optimized build of my integer division function?

Does calling an empty function in C invoke UB?

c undefined-behavior

Out of bounds pointer arithmetic not detected?

c++ undefined-behavior

Will gcc skip this check for signed integer overflow?

Modifying object representation in presence of padding bits

How can I move std::tuple elements out of a class object?

Is signed integer overflow undefined behaviour or implementation defined?

Is INT_MIN * -1 a no-op on x86?

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