From: Sasha Levin <sasha.levin@oracle.com>
To: Andrey Ryabinin <a.ryabinin@samsung.com>, linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
Peter Zijlstra <peterz@infradead.org>,
Randy Dunlap <rdunlap@infradead.org>,
Rasmus Villemoes <linux@rasmusvillemoes.dk>,
Jonathan Corbet <corbet@lwn.net>, Michal Marek <mmarek@suse.cz>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Yury Gribov <y.gribov@samsung.com>,
Dmitry Vyukov <dvyukov@google.com>,
Konstantin Khlebnikov <koct9i@gmail.com>,
x86@kernel.org, linux-doc@vger.kernel.org,
linux-kbuild@vger.kernel.org
Subject: Re: [PATCH v2 0/2] UBSan: run-time undefined behavior sanity checker
Date: Tue, 3 Nov 2015 12:20:44 -0500 [thread overview]
Message-ID: <5638ECEC.1030604@oracle.com> (raw)
In-Reply-To: <1415969446-26356-1-git-send-email-a.ryabinin@samsung.com>
Anyone knows why wasn't this merged a year ago? I didn't see any review comments, and it
ended up finding real bugs.
On 11/14/2014 07:50 AM, Andrey Ryabinin wrote:
> Next spin of UBSan and there are two patches from now.
> "Two there should be; no more, no less. One to embody the UBSan,
> the other to not deadlock it."
>
> Patches on top of v3.18-rc4. As usual they are available in git:
> git://github.com/aryabinin/linux ubsan/v2
>
> Changes since v1:
> - Refactoring and cleanups in lib/ubsan.c including Sasha's complains.
> - Some spelling fixes from Randy
> - Fixed possible memory corruption on 64 big endian machines, spotted by Rasmus.
> - Links to the relevant GCC documentation added into changelog (Peter).
> - Added documentation.
> - Fix deadlock caused by kernel/printk/printk.c instrumentation
> (patch "kernel: printk: specify alignment for struct printk_log").
> - Dropped useless 'Indirect call of a function through a function pointer of the wrong type'
> checker. GCC doesn't support this, and as clang manual says it's for C++ only.
> - Added checker for __builtin_unreachable() calls.
> - Removed redundant -fno-sanitize=float-cast-overflow from CFLAGS.
> - Added lock to prevent mixing reports.
>
> Andrey Ryabinin (2):
> kernel: printk: specify alignment for struct printk_log
> UBSan: run-time undefined behavior sanity checker
>
> Documentation/ubsan.txt | 69 +++++
> Makefile | 10 +-
> arch/x86/Kconfig | 1 +
> arch/x86/boot/Makefile | 1 +
> arch/x86/boot/compressed/Makefile | 1 +
> arch/x86/realmode/rm/Makefile | 1 +
> arch/x86/vdso/Makefile | 2 +
> drivers/firmware/efi/libstub/Makefile | 1 +
> include/linux/sched.h | 3 +
> kernel/printk/printk.c | 10 +-
> lib/Kconfig.debug | 22 ++
> lib/Makefile | 3 +
> lib/ubsan.c | 567 ++++++++++++++++++++++++++++++++++
> lib/ubsan.h | 84 +++++
> scripts/Makefile.lib | 6 +
> 15 files changed, 775 insertions(+), 6 deletions(-)
> create mode 100644 Documentation/ubsan.txt
> create mode 100644 lib/ubsan.c
> create mode 100644 lib/ubsan.h
>
next prev parent reply other threads:[~2015-11-03 17:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 12:50 [PATCH v2 0/2] UBSan: run-time undefined behavior sanity checker Andrey Ryabinin
2014-11-14 12:50 ` [PATCH v2 1/2] kernel: printk: specify alignment for struct printk_log Andrey Ryabinin
2014-11-14 17:22 ` Joe Perches
2014-11-14 20:54 ` Andrey Ryabinin
2014-11-14 12:50 ` [PATCH v2 2/2] UBSan: run-time undefined behavior sanity checker Andrey Ryabinin
2015-11-03 17:20 ` Sasha Levin [this message]
2015-11-03 17:35 ` [PATCH v2 0/2] " Dmitry Vyukov
2015-11-03 17:45 ` Dmitry Vyukov
2015-11-03 17:50 ` Sasha Levin
2015-11-03 18:15 ` Andrey Ryabinin
2015-11-03 18:46 ` Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5638ECEC.1030604@oracle.com \
--to=sasha.levin@oracle.com \
--cc=a.ryabinin@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=dvyukov@google.com \
--cc=hpa@zytor.com \
--cc=koct9i@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=mingo@redhat.com \
--cc=mmarek@suse.cz \
--cc=peterz@infradead.org \
--cc=rdunlap@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=y.gribov@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox