by burfog · 8y ago · 0 comments
Accessing the data that is being pointed at is another matter entirely. You must satisfy alignment constraints. You also must not read any memory as a type other than what it was written as, aside from a very limited exception for type char.
Looking at the full code on the web site, I think it is compliant but dangerous. It is decently likely to trigger gcc bugs.