Re: Using source-level annotations to help GCC detect buffer overflows

2021-07-01 Thread David Brown
Thanks for the reply here. I've snipped a bit to save space. On 30/06/2021 19:12, Martin Sebor wrote: On 6/29/21 12:31 PM, David Brown wrote: On 29/06/2021 17:50, Martin Sebor wrote: On 6/29/21 6:27 AM, David Brown wrote: On 28/06/2021 21:06, Martin Sebor via Gcc wrote: I wrote an article

Re: Using source-level annotations to help GCC detect buffer overflows

2021-06-30 Thread Martin Sebor via Gcc
On 6/29/21 12:31 PM, David Brown wrote: On 29/06/2021 17:50, Martin Sebor wrote: On 6/29/21 6:27 AM, David Brown wrote: On 28/06/2021 21:06, Martin Sebor via Gcc wrote: I wrote an article for the Red Hat Developer blog about how to annotate code to get the most out of GCC's access checking war

Re: Using source-level annotations to help GCC detect buffer overflows

2021-06-29 Thread David Brown
On 29/06/2021 17:50, Martin Sebor wrote: > On 6/29/21 6:27 AM, David Brown wrote: >> On 28/06/2021 21:06, Martin Sebor via Gcc wrote: >>> I wrote an article for the Red Hat Developer blog about how >>> to annotate code to get the most out of GCC's access checking >>> warnings like -Warray-bounds, -

Re: Using source-level annotations to help GCC detect buffer overflows

2021-06-29 Thread Martin Sebor via Gcc
On 6/29/21 6:27 AM, David Brown wrote: On 28/06/2021 21:06, Martin Sebor via Gcc wrote: I wrote an article for the Red Hat Developer blog about how to annotate code to get the most out of GCC's access checking warnings like -Warray-bounds, -Wformat-overflow, and -Wstringop-overflow.  The article

Re: Using source-level annotations to help GCC detect buffer overflows

2021-06-29 Thread David Brown
On 28/06/2021 21:06, Martin Sebor via Gcc wrote: > I wrote an article for the Red Hat Developer blog about how > to annotate code to get the most out of GCC's access checking > warnings like -Warray-bounds, -Wformat-overflow, and > -Wstringop-overflow.  The article published last week: > > https:/

Using source-level annotations to help GCC detect buffer overflows

2021-06-28 Thread Martin Sebor via Gcc
I wrote an article for the Red Hat Developer blog about how to annotate code to get the most out of GCC's access checking warnings like -Warray-bounds, -Wformat-overflow, and -Wstringop-overflow. The article published last week: https://developers.redhat.com/articles/2021/06/25/use-source-level-