|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v4 2/4] lockable: Do not cast function pointers |
Date: | Mon, 27 May 2024 12:05:44 +0200 |
User-agent: | Mozilla Thunderbird |
On 27/5/24 11:57, Philippe Mathieu-Daudé wrote:
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
s/teh/the/ (also next patch)
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>
[Prev in Thread] | Current Thread | [Next in Thread] |