[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU poke 2.0.92 with ubsan

From: Mohammad-Reza Nabipoor
Subject: Re: GNU poke 2.0.92 with ubsan
Date: Mon, 7 Feb 2022 03:24:32 +0330


On Mon, Feb 07, 2022 at 12:22:51AM +0100, Bruno Haible wrote:
> I wanted to look for more undefined behaviour, so (on x86_64)
> I built poke-2.0.92 with
>   CC="gcc -fsanitize=undefined"; export CC
>   CFLAGS="-O1 -fno-omit-frame-pointer -g"; export CFLAGS
> The compilation works fine. But all tests fail.
> $ ./run poke/poke
> FATAL ERROR: buffer overflow in writing executable code: crash now, in case 
> we have not crashed already

You have to disable no-threading dispatch.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]