News for hackers. Stuff that matters.
Re:RFC: C++ Buffer Hardening by gpderetta on Thursday October 06, 2022 @05:59AM (#33106419)
Even if not inlined at -O0, when instantiated for a custom some_type, the standard library .so won't contain any code for it, everything will be in the application binary.
Re:RFC: C++ Buffer Hardening by pjmlp on Thursday October 06, 2022 @06:02AM (#33106441)
Depends on the implementation of helper functions and if external templates are being used.
Re:RFC: C++ Buffer Hardening by gpderetta on Thursday October 06, 2022 @06:06AM (#33106458)
extern templates won't help for user defined types of course as the standard library couldn't possibly have instantiations for them :).

Some non template helpers might be improved of course.

Re:RFC: C++ Buffer Hardening by pjmlp on Thursday October 06, 2022 @06:32AM (#33106592)
They help for common types like std::string.