Re: [PATCH v4 0/3] UBSAN: run-time undefined behavior sanity checker

2015-12-10 Thread Andrey Ryabinin
On 12/05/2015 03:37 AM, Andrew Morton wrote: > On Thu, 3 Dec 2015 18:50:04 +0300 Andrey Ryabinin > wrote: > >> UBSAN is run-time undefined behaviour checker. It uses compile-time >> instrumentation to catch undefined behavior (UB). Compiler inserts code >> that perform certain kinds of checks be

Re: [PATCH v4 0/3] UBSAN: run-time undefined behavior sanity checker

2015-12-07 Thread Andrey Ryabinin
On 12/05/2015 03:37 AM, Andrew Morton wrote: > On Thu, 3 Dec 2015 18:50:04 +0300 Andrey Ryabinin > wrote: > >> UBSAN is run-time undefined behaviour checker. It uses compile-time >> instrumentation to catch undefined behavior (UB). Compiler inserts code >> that perform certain kinds of checks be

Re: [PATCH v4 0/3] UBSAN: run-time undefined behavior sanity checker

2015-12-04 Thread Andrew Morton
On Thu, 3 Dec 2015 18:50:04 +0300 Andrey Ryabinin wrote: > UBSAN is run-time undefined behaviour checker. It uses compile-time > instrumentation to catch undefined behavior (UB). Compiler inserts code > that perform certain kinds of checks before operations that could cause UB. > If check fails

[PATCH v4 0/3] UBSAN: run-time undefined behavior sanity checker

2015-12-03 Thread Andrey Ryabinin
UBSAN is run-time undefined behaviour checker. It uses compile-time instrumentation to catch undefined behavior (UB). Compiler inserts code that perform certain kinds of checks before operations that could cause UB. If check fails (i.e. UB detected) __ubsan_handle_* function called to print error