Re: [PATCH 1/4] enhance overflow and truncation detection in strncpy and strncat (PR 81117)

2017-08-14 Thread Martin Sebor
On 08/09/2017 10:44 PM, Jeff Law wrote: On 08/06/2017 02:07 PM, Martin Sebor wrote: The attached patch adds support for a new GCC format specifier, G, that behaves like %K but accepts a gcall* argument. This makes it possible to provide inlining context for "artificial" inline functions like

Re: [PATCH 1/4] enhance overflow and truncation detection in strncpy and strncat (PR 81117)

2017-08-09 Thread Jeff Law
On 08/06/2017 02:07 PM, Martin Sebor wrote: > The attached patch adds support for a new GCC format specifier, > G, that behaves like %K but accepts a gcall* argument. This > makes it possible to provide inlining context for "artificial" > inline functions like strncpy (with _FORTIFY_SOURCE) in >

[PATCH 1/4] enhance overflow and truncation detection in strncpy and strncat (PR 81117)

2017-08-06 Thread Martin Sebor
The attached patch adds support for a new GCC format specifier, G, that behaves like %K but accepts a gcall* argument. This makes it possible to provide inlining context for "artificial" inline functions like strncpy (with _FORTIFY_SOURCE) in diagnostics issued from the middle end. Martin PR