|
Message-ID: <fxg6zacf3cvsjklt5rha6ty2qbxvthwuo352dxtzlmo4upqumu@42j5ziybhe6p> Date: Tue, 19 Mar 2024 16:37:21 +0000 From: NRK <nrk@...root.org> To: musl@...ts.openwall.com Cc: Jāāā Gustedt <jens.gustedt@...ia.fr>, Aaron Peter Bachmann <aaron_ng@...de.at> Subject: Re: c23 memset_explicit() > I'm not sure what the builtin thing was. IIRC, the idea was that if memset_explicit() is recognized by compilers then they can make better decision. E.g if the data is held in a register without any further copy in memory, then compiler can just clear the register instead of spilling it onto the stack and calling memset_explicit() on it. But that's not really relevant for libcs trying to add support for it. Both of them can co-exist. - NRK
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.