Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

unexpected result when adding to pointer

c undefined-behavior

Call to function (unknown) through pointer to incorrect function type

Obtaining a past-the-end pointer using the address of an array

Seg fault on GCC4.6 when trying to move a large bitset, is this a compiler bug?

Is using reference to pointer that was casted with reinterpret_cast undefined behavior?

Is it safe to call the functions from <cctype> with char arguments?

Does C standard mandate that platforms must not define behaviors beyond those given in standard

Changing the interface without recompiling the implementing class

unique_ptr: linked list entry deletion

Is initializing a pointer declarator with an invalid pointer undefined behavior?

Google Sparsehash uses realloc() on type which is not trivially copyable

If Derived adds no new members to Base (and is POD), then what kind of pointer casts, and dereferencing, can be safely done?

How to reinterpret a sequence of bytes as a POD structure without causing UB?

Does i++ invoke undefined behavior for signed types smaller than int in case of overflow?

Strict aliasing and references to compile-time C arrays

initialization order of thread_local vs. global variables

Consistency and behavior of %n operator in *scanf