From patchwork Fri Mar 27 09:49:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 184997 Delivered-To: patch@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp1097855ilr; Fri, 27 Mar 2020 02:51:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtCk7CIoGHfY0ivqiJXe3SdR+sUhzMUYcx2heNNHFmqSDwsbyALf4H7gPR0uh2HJOUHOwVW X-Received: by 2002:aed:3f6c:: with SMTP id q41mr12912609qtf.183.1585302697236; Fri, 27 Mar 2020 02:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585302697; cv=none; d=google.com; s=arc-20160816; b=Zbl1VxKTss1vIveo2l3+UHAMeaz+FIZqzFUhxb+vN7GfPlBnzEMHISqnrHf2Lrx8mi hqYAqeqvD5ZBYocBATLt8OnyHXqqwimfL2YJiBENqekvKjLXEKHfr28A+yDhqaoPXd4E pa7onwGZtBQG9q2J1byjn8sgtKGhUbriw6nee9D0PxlNF6ueUkimg0F6twqCCKLjVO+y mRMJykWov8eLE7OfLzMSKHTPA8sfMuysMsh8oCOd6QOcuJ7glE9n6kET0EsiJmeWPt3x Lz0SW90bCELKJeoEJTMKE9UiAMfFaT4KaQ2Hi/Bn6MiSuxuwAT+0J/soJZfo+VN2GtFS 9J5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=BsUpDE4oeBA2w3/5bPCV+g7M+jRgEGbqhA5stb7PRU4=; b=duoeVPXB3h+v3ksVblhvX3qnWadgW3FjrtKV5T92G17aji8rxBAjYHkZw4VzetZAw0 XBD7jJOAWpJlOaUBXdtZgzNLscavByGjHFldMmzKKXzxvYNMEd474bLVgzj4J9+IWk0H GUefCefsTgRqIMhi8zFHYBOPvzEWkvPLtIwkfDKlUn9cUply5/WrhtdeKljP+gPS5o7K XfPezuKyYnObuEJFy0GUr8nFznCO03+ZtPX+xVyM9p5YYBOnj21GROmDZb070a38R6/e yUmX3R3LVaetAMNNIkcD21LwU2dw9/mDoVSzSzrwlMDPwwjanF1mu7Z6LZ/hoMv2fcrN 7k+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MsQ+T8dL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m62si2942365qte.353.2020.03.27.02.51.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 02:51:37 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MsQ+T8dL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHleK-0006ub-Nh for patch@linaro.org; Fri, 27 Mar 2020 05:51:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37787) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHlcc-0003Lu-K7 for qemu-devel@nongnu.org; Fri, 27 Mar 2020 05:49:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHlcb-0003fc-Ie for qemu-devel@nongnu.org; Fri, 27 Mar 2020 05:49:50 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:51458) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHlcb-0003ab-Ce for qemu-devel@nongnu.org; Fri, 27 Mar 2020 05:49:49 -0400 Received: by mail-wm1-x342.google.com with SMTP id c187so10763654wme.1 for ; Fri, 27 Mar 2020 02:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BsUpDE4oeBA2w3/5bPCV+g7M+jRgEGbqhA5stb7PRU4=; b=MsQ+T8dLVfbXuB9S7ioYlbQWG38QDRfpgAw850xmINPXnQLFJs0Z1IxwMCyiQgNKWF 7KGAJvvi88bqEDZLmZZdZNIEdRxIQkwnf5s6JadrOAkUNYIHN7wMg7aJUkhSRcZQoiPf qC5snCIIgf4D9OnfLILxdgReqRSz/gumQqlyMfN52ltkVY4RgxSzRnSDh0lvYJPGaT9U TXGaZkdgDG+npIjFazxMuP/jiDz6yf0/rO1nS5vz0XzWjXVE7dM3Xj5nDiGQZHJwSISS cZGVb/P8ltSIsKoOapYXNBW9dN2zhsq0cIG/rYaAaV+lNuupzCIexjV8ODZ/SAPlTcOp Cz1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BsUpDE4oeBA2w3/5bPCV+g7M+jRgEGbqhA5stb7PRU4=; b=NF+ex7rqucd9Omsj+zmCUbFJsT/NfnmMgmpvw8cqtALv35+VBZRaaeTPCIA6DO2kIr jjKNEmTpZmOWxhbH6T9S3a2mjZc91uKqG+F5ltuRzhB/vo+bCWB6oMIJ0kHQcEbz5IsK mIMf6nLWhVryLrUCTtywLYPQ0/JRJ6k36bQXfB2xwW3ZJ07Ja117v5fpnYpoieL1ixCd 1WkX9LuVxg+zh++Y+lPPIiGQqcrhQqE2mCYZekasQWUdjVEZtXj4ksJ1wgQEEICo3gze lgW5OtIOJ+/mgnLnq8UNpGLknLdFhH+YqftnMfvD3r59oQ5edZnhC2JKGfY5lcxhYHJZ zFog== X-Gm-Message-State: ANhLgQ1reaL+VRV6wGozvKu22EzZTVFWFknaZyFR/NwwNaW8f3IAOPaL /AdF2GEIknKX5tyYMbFaJ69ENg== X-Received: by 2002:a1c:6282:: with SMTP id w124mr4443772wmb.27.1585302588215; Fri, 27 Mar 2020 02:49:48 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 9sm7022189wmm.6.2020.03.27.02.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 02:49:46 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 634781FF7E; Fri, 27 Mar 2020 09:49:45 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH for 5.0 v1 0/7] A selection of sanitiser fixes Date: Fri, 27 Mar 2020 09:49:38 +0000 Message-Id: <20200327094945.23768-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, I gave the rc0 a spin on the clang sanitiser and found a number of small issues. One issue is that init_guest_space doesn't play nice with the sanitiser for some guests but that is going to be a more involved fix. For now I've just enhanced the debug output a little. I also didn't attempt to fix the memory leak in xtensa as the code is pretty unfamiliar to me. Please review and NACK anything you don't think should be 5.0 material. Alex Bennée (6): elf-ops: bail out if we have no function symbols linux-user: protect fcntl64 with an #ifdef tests/tcg: remove extraneous pasting macros linux-user: more debug for init_guest_space fpu/softfloat: avoid undefined behaviour when normalising empty sigs target/xtensa: add FIXME for translation memory leak Denis Plotnikov (1): gdbstub: fix compiler complaining include/hw/elf_ops.h | 7 ++++++- fpu/softfloat.c | 11 ++++++++--- gdbstub.c | 4 ++-- linux-user/elfload.c | 8 +++++++- linux-user/syscall.c | 8 ++++---- target/xtensa/translate.c | 5 +++++ tests/tcg/x86_64/system/boot.S | 5 +---- 7 files changed, 33 insertions(+), 15 deletions(-) -- 2.20.1