Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in strict-aliasing

Correct interpretation of clause 6.5 Expressions in the draft C standard

c strict-aliasing

How undefined behavior of strict aliasing could happen if data is only read?

c strict-aliasing

Strict Aliasing and Unions in C

Aliasing through unions

gcc: How to use __attribute((__may_alias__)) properly to avoid "derefencing type-punned pointer" warning

In C++ can you use one empty type as storage for another?

C vs C++ placing structs in unsigned char buffer

c strict-aliasing

Does casting a magic address to a pointer in C violate strict aliasing rules?

With strict aliasing in C++11, is it defined to _write_ to a char*, then _read_ from an aliased nonchar*?

c++ c++11 strict-aliasing

Strict aliasing rule when storing and accessing an array of (pointers to) elements

c strict-aliasing

how use a structure in a unaligned buffer

Examples using reinterpret_cast that do not trigger UB

Why doesn't strict aliasing rule apply to int* and unsigned*?

When is char* safe for strict pointer aliasing?

c sockets strict-aliasing

Is it undefined behavior to `reinterpret_cast` a `T*` to `T(*)[N]`?

Casting pointer to unrelated type

c strict-aliasing

Can two structs in C99/C11 alias?

c strict-aliasing

Structure over flexible array member

c c99 strict-aliasing

Is this short program legal C++? [closed]

c++ strict-aliasing