Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

const_cast and UB

Why passing string to scanf() compiles fine in C?

c scanf undefined-behavior

unexpected output of C++

Why can I operate with int > +32767?

Limit the confusion caused by undefined-behavior?

Which of the following combinations of post & pre-increment operators have undefined behaviour in C?

Lua - Two local variables with the same name

a = (a + b) - (b = a); C++ vs php

php c++ undefined-behavior

Incrementing a Constant in C++

Re Legacy code : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]

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?