Linux Hardening
 help / color / mirror / Atom feed
* Re: A few proposals from the C standards committee
       [not found] <9162660e-2d6b-47a3-bfa2-77bfc55c817b@paulmck-laptop>
@ 2024-01-23 22:39 ` Kees Cook
  0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2024-01-23 22:39 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: linux-toolchains, peterz, hpa, rostedt, gregkh, ndesaulniers,
	justinstitt, torvalds, linux-hardening

On Tue, Jan 23, 2024 at 08:46:13AM -0800, Paul E. McKenney wrote:
> N3201 Operator Overloading Without Name Mangling v2
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3201.pdf
> 	I have seen Linux-kernel interest in *function* overloading, but
> 	not in operator overloading.  Nevertheless...
> 
> 	The trick here is to associate a given operator with a function,
> 	so that the name-mangling becomes essentially a manual operation.

The proposal discusses strings, but I would want to immediately use this
for handling wrap vs trap arithmetic (rather than using sanitizers[1]).

-- 
Kees Cook

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-23 22:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9162660e-2d6b-47a3-bfa2-77bfc55c817b@paulmck-laptop>
2024-01-23 22:39 ` A few proposals from the C standards committee Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox