C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Make all data pointers intercompatible

From: organicoman <organicoman_at_[hidden]>
Date: Tue, 28 Jan 2025 17:32:43 +0100
That's the guarantee we were using to obfuscate some sensitive code and data.Sent from my Galaxy
-------- Original message --------From: Sebastian Wittmeier via Std-Proposals <std-proposals_at_[hidden]> Date: 1/28/25 5:12 PM (GMT+01:00) To: std-proposals_at_[hidden] Cc: Sebastian Wittmeier <wittmeier_at_[hidden]> Subject: Re: [std-proposals] Make all data pointers intercompatible
I do not think that is what unspecified means or guarantees. -----Ursprüngliche Nachricht-----Von: organicoman <organicoman_at_[hidden]>Gesendet: Di 28.01.2025 17:04Betreff: RE: AW: [std-proposals] Make all data pointers intercompatibleAn: Sebastian Wittmeier <wittmeier_at_[hidden]>; The compiler is not meant to interpret intentions, so in case you do something unspecified, it is required that it should keep the value as is, just in case of reversing the undesired operation, you will get back exactly what you gave. Sent from my Galaxy -------- Original message --------From: Sebastian Wittmeier <wittmeier_at_[hidden]>Date: 1/28/25 4:25 PM (GMT+01:00)To: organicoman <organicoman_at_[hidden]>Subject: AW: [std-proposals] Make all data pointers intercompatible Where is the guarantee that the compiler is not allowed to alter the bits coming from?If the result is unspecified, the bits can be changed, can't they?

Received on 2025-01-28 16:32:51