[PATCH v6 0/2] _FORTIFY_SOURCE=3

Siddhesh Poyarekar siddhesh@gotplt.org
Tue Dec 22 13:00:55 GMT 2020


On 12/19/20 12:03 PM, Siddhesh Poyarekar via Libc-alpha wrote:
> This patchset implements a new fortification level, _FORTIFY_SOURCE=3.
> This level allows size information to be dynamic, which may potentially
> have a noticeable performance impact.  It uses the
> __builtin_dynamic_object_size builtin available in clang to expand
> coverage of fortifications at the expense of some performance.
> 
> Patch 1/2 implements the base support and support for functions that
> have builtins of string functions.  Additionally, the patch also
> describes the use case and tradeoffs.
> 
> Patch 2/2 adds support for non-string functions that are
> fortification-ready for levels 1 and 2.

Any more comments on this?  I believe I have fixed all the outstanding 
issues that were pointed out during previous reviews.

Siddhesh


More information about the Libc-alpha mailing list