Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Is comparing two pointers with < undefined behavior if they are both cast to an integer type?

c undefined-behavior

How 'undefined' a race condition can be?

Does explicitly calling destructor result in Undefined Behavior here?

Undocumented behaviour in C# [duplicate]

c# c++ undefined-behavior

Why does this Objective C call appear to hang?

how to use ubsan on gcc (windows 8.1)

Is there a way to distinguish a GUID from just a random number?

Computing the address of an object from the address of one of its member subobject

Destroy-and-regenerate assignment operator: what if I'm careful?

Is accessing members through offsetof well defined?

Is ManuallyDrop<Box<T>> with mem::uninitialized defined behavior?

Code only works if all variables are set to 0 first. UB?

c undefined-behavior

Is the compiler allowed leeway in what it considers undefined behavior in a constant expression?

How to type-pun Boost quantity arrays to the underlying type?

std::map operator [] -- undefined behaviour?

Is it valid to pass the address of a non-array variable to a function parameter declared as `Type ptr[static 1]`?

Does this abuse of function declarations invoke undefined behavior?