Date: Sat, 02 May 2026 16:00:12 -0700
On Friday, 1 May 2026 22:59:24 Pacific Daylight Time Simon Schröder via Std-
Proposals wrote:
> I am also not sure if the standard says anything about shared libraries.
> (Maybe someone else can confirm this.) And you are talking about very niche
> cases where the function signature is not known at compile time. Because as
> long as the function signature is known (in many cases even when calling
> into a shared library) we can use other existing techniques to wrap the
> function call (especially if we don’t intercept functions but have to
> change the call site anyway).
It doesn't say anything. I doubt there would be any way to add sufficient
description of them to the standard in less than 5 years for this feature to
have a meaningful description. So this incredibly niche feature would be
standardised as "it is implementation defined whether this intercepts
anything". Which in turn means implementors can simply ignore the feature
because intercepting nothing is Standards compliant.
Proposals wrote:
> I am also not sure if the standard says anything about shared libraries.
> (Maybe someone else can confirm this.) And you are talking about very niche
> cases where the function signature is not known at compile time. Because as
> long as the function signature is known (in many cases even when calling
> into a shared library) we can use other existing techniques to wrap the
> function call (especially if we don’t intercept functions but have to
> change the call site anyway).
It doesn't say anything. I doubt there would be any way to add sufficient
description of them to the standard in less than 5 years for this feature to
have a meaningful description. So this incredibly niche feature would be
standardised as "it is implementation defined whether this intercepts
anything". Which in turn means implementors can simply ignore the feature
because intercepting nothing is Standards compliant.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-05-02 23:00:24
