[wwwdocs] Document ASAN changes for GCC 13.

Message ID b3f35cf1-91cf-322b-7c86-0774653a76e0@suse.cz
State New
Headers
Series [wwwdocs] Document ASAN changes for GCC 13. |

Commit Message

Martin Liška May 24, 2022, 12:40 p.m. UTC
  Ready to be installed?

Thanks,
Martin

---
 htdocs/gcc-13/changes.html | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Eric Gallager May 24, 2022, 2:19 p.m. UTC | #1
On Tue, May 24, 2022 at 8:42 AM Martin Liška <mliska@suse.cz> wrote:
>
> Ready to be installed?
>
> Thanks,
> Martin
>
> ---
>  htdocs/gcc-13/changes.html | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
> index 6c5b2a37..f7f6866d 100644
> --- a/htdocs/gcc-13/changes.html
> +++ b/htdocs/gcc-13/changes.html
> @@ -47,6 +47,9 @@ a work-in-progress.</p>
>      non-rectangular loop nests, which were added for C/C++ in GCC 11.</li>
>    </ul>
>    </li>
> +    AddressSanitizer defaults to <code>detect_stack_use_after_return=1</code> on Linux target.
> +    For compatibly, it can be disabled with <code>env ASAN_OPTIONS=detect_stack_use_after_return=0</code>.
> +  <li>
>  </ul>
>

Hm, the HTML tags look mismatched... also I'm assuming "compatibly"
should be "compatibility"?

>
> --
> 2.36.1
>
  
Gerald Pfeifer May 24, 2022, 2:33 p.m. UTC | #2
Hi Martin,

On Tue, 24 May 2022, Martin Liška wrote:
> +    AddressSanitizer defaults to <code>detect_stack_use_after_return=1</code> on Linux target.

did you mean targets, or really just target?

(And Linux or GNU/Linux, though that one is more disputed, I know.
Just following our own coding conventions...)

Gerald
  
Martin Liška May 24, 2022, 6:55 p.m. UTC | #3
On 5/24/22 16:33, Gerald Pfeifer wrote:
> Hi Martin,
> 
> On Tue, 24 May 2022, Martin Liška wrote:
>> +    AddressSanitizer defaults to <code>detect_stack_use_after_return=1</code> on Linux target.
> 
> did you mean targets, or really just target?
> 
> (And Linux or GNU/Linux, though that one is more disputed, I know.
> Just following our own coding conventions...)
> 
> Gerald

Hello.

Both comments addressed and I've just pushed that.

Martin
  

Patch

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index 6c5b2a37..f7f6866d 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -47,6 +47,9 @@  a work-in-progress.</p>
     non-rectangular loop nests, which were added for C/C++ in GCC 11.</li>
   </ul>
   </li>
+    AddressSanitizer defaults to <code>detect_stack_use_after_return=1</code> on Linux target.
+    For compatibly, it can be disabled with <code>env ASAN_OPTIONS=detect_stack_use_after_return=0</code>.
+  <li>
 </ul>