On Fri, Feb 09, 2024 at 08:02:49AM +0100, Thomas Huth wrote:
> On 08/02/2024 20.23, Richard Schmitt wrote:
> > In an attempt to build qemu with hardened gcc compiler options, we
> > specified the -ftrapv switch rather than the -fwrapv switch. The
> > switches define the behavior of integer overflo
On 08/02/2024 20.23, Richard Schmitt wrote:
In an attempt to build qemu with hardened gcc compiler options, we specified
the -ftrapv switch rather than the -fwrapv switch. The switches define the
behavior of integer overflows. -ftrapv causes an abort on integer overflow,
-fwrapv causes overfl
In an attempt to build qemu with hardened gcc compiler options, we specified
the -ftrapv switch rather than the -fwrapv switch. The switches define the
behavior of integer overflows. -ftrapv causes an abort on integer overflow,
-fwrapv causes overflows to simply wrap without any error indicatio