qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 2/4] lockable: Do not cast function pointers


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v4 2/4] lockable: Do not cast function pointers
Date: Mon, 27 May 2024 11:57:09 +0200
User-agent: Mozilla Thunderbird

On 24/5/24 07:35, Akihiko Odaki wrote:
-fsanitize=undefined complains if function pointers are casted. It
also prevents enabling teh strict mode of CFI which is currently
disabled with -fsanitize-cfi-icall-generalize-pointers.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2345
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
  include/qemu/lockable.h | 23 +++++++++++++++++++----
  1 file changed, 19 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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