From gcc-patches Wed Jan 31 23:34:21 2007 From: Dirk Mueller Date: Wed, 31 Jan 2007 23:34:21 +0000 To: gcc-patches Subject: Re: [RFC] [PATCH] Implement -ffortify for C/C++ Message-Id: <200702010034.22942.dmuell () gmx ! net> X-MARC-Message: https://marc.info/?l=gcc-patches&m=117028649432116 On Tuesday, 30. January 2007 18:05, Jakub Jelinek wrote: > > so it produces __builtin_object_size(.., 1) if it is a str*/stp* related > > function and fortify level is > 1. This is how I understood it from > > reading the glibc header file (I admit it was late and I was drunk). > Oops, yeah, your patch is correct, I must have missed the bos && there, > sorry. Still, the *.texi documentation needs fixing to actually describe > what the option really does. I agree. Which part do you think is missing? the definition of the parameter passed down to the builtin_object_size calls in str* functions depending on the fortify level compared to the mem* functions?