aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-ubsan.c
AgeCommit message (Expand)AuthorFilesLines
2019-01-01Update copyright years.Jakub Jelinek1-1/+1
2018-11-28re PR sanitizer/88215 (UBSAN: Internal compiler error with attribute(unused))Jakub Jelinek1-2/+4
2018-11-14P1236R1 - Signed integers are two's complementJakub Jelinek1-1/+4
2018-01-03poly_int: GET_MODE_BITSIZERichard Sandiford1-1/+2
2018-01-03Update copyright years.Jakub Jelinek1-1/+1
2017-08-08trans.c: Include header files.Martin Liska1-1/+3
2017-07-31Do UBSAN sanitization just when current_function_decl != NULL_TREE (PR saniti...Martin Liska1-2/+4
2017-06-13Implement no_sanitize function attributeMartin Liska1-11/+11
2017-04-10Evaluate a SAVE_EXPR before an UBSAN check (PR sanitizer/80350).Martin Liska1-0/+1
2017-03-31re PR sanitizer/79572 (reference binding to null pointer not reported with -f...Jakub Jelinek1-4/+13
2017-01-01Update copyright years.Jakub Jelinek1-1/+1
2016-11-09flag-types.h (enum sanitize_code): Add SANITIZE_SHIFT_BASE and SANITIZE_SHIFT...Jakub Jelinek1-5/+39
2016-10-05re PR sanitizer/66343 ("Error: .Lubsan_type3 already defined" with UBSan and ...Jakub Jelinek1-3/+0
2016-10-05re PR sanitizer/77823 (ICE: in ubsan_encode_value, at ubsan.c:137 with -fsani...Jakub Jelinek1-2/+4
2016-01-04Update copyright years.Jakub Jelinek1-1/+1
2015-12-12re PR sanitizer/68418 (ubsan complains about left shifts even with -fwrapv)Paolo Bonzini1-6/+9
2015-11-11decl.c: Remove unused header files.Andrew MacLeod1-8/+0
2015-10-29decl.c: Reorder #include's and remove duplicates.Andrew MacLeod1-6/+4
2015-09-25c-ubsan.c (ubsan_instrument_division): Remove unnecessary code.Marek Polacek1-28/+2
2015-09-25re PR sanitizer/64906 (-fsanitize=integer-divide-by-zero creates false -Wmayb...Marek Polacek1-0/+1
2015-07-23c-ubsan.c (ubsan_instrument_division): Use unshare_expr throughout.Marek Polacek1-7/+12
2015-07-23re PR sanitizer/66908 (Uninitialized variable when compiled with UBsan)Marek Polacek1-0/+7
2015-07-08tree-core.h: Include symtab.h.Andrew MacLeod1-2/+1
2015-06-26array-notation-common.c (find_rank): Use INDIRECT_REF_P.Marek Polacek1-2/+1
2015-06-25function.h (ipa_opt_pass, [...]): Move forward declarations.Andrew MacLeod1-2/+0
2015-06-17coretypes.h: Include input.h and as-a.h.Andrew MacLeod1-3/+0
2015-06-08coretypes.h: Include hash-table.h and hash-set.h for host files.Andrew MacLeod1-7/+0
2015-06-04coretypes.h: Include machmode.h...Andrew MacLeod1-4/+0
2015-05-25* c-ubsan.c (ubsan_instrument_shift): Use type0.Marek Polacek1-1/+1
2015-05-07c-ubsan.c (ubsan_instrument_bounds): Don't skip instrumenting flexible member...Marek Polacek1-2/+4
2015-03-06re PR sanitizer/65280 (-fsanitize=bounds does not detect out-of-bounds access)Marek Polacek1-2/+3
2015-01-09genattrtab.c (write_header): Include hash-set.h...Michael Collison1-0/+10
2015-01-08ubsan.c (do_ubsan_in_current_function): New.Jason Merrill1-6/+2
2015-01-05Update copyright years.Jakub Jelinek1-1/+1
2014-11-28c-ubsan.c (ubsan_instrument_shift): Use op1_utype for MINUS_EXPR instead of u...Marek Polacek1-1/+1
2014-11-28re PR c/63862 (C frontend converts shift-count to int while standard wants in...Marek Polacek1-1/+1
2014-11-18re PR sanitizer/63813 ([UBSAN] ICE in ubsan_type_descriptor, at ubsan.c:346)Jakub Jelinek1-10/+18
2014-10-28cgraph.h: Flatten.Andrew MacLeod1-0/+12
2014-10-23c-ubsan.c (ubsan_instrument_shift): Perform the MINUS_EXPR in unsigned type.Marek Polacek1-5/+6
2014-10-22New syntax for -fsanitize-recover.Jakub Jelinek1-3/+3
2014-09-10ubsan.h (struct ubsan_mismatch_data): Removed.Jakub Jelinek1-8/+24
2014-08-23cpplib.h (enum c_lang): Add CLK_GNUCXX1Z, CLK_CXX1Z...Edward Smith-Rowland1-2/+2
2014-08-01opts.c (common_handle_option): Handle -fsanitize=alignment.Jakub Jelinek1-0/+98
2014-07-15c-ubsan.c (ubsan_instrument_bounds): Don't instrument if TYPE_MAX_VALUE is NULL.Marek Polacek1-1/+1
2014-06-20asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS.Marek Polacek1-10/+132
2014-05-21tree.def (VOID_CST): New.Richard Sandiford1-3/+3
2014-04-30gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE.Marek Polacek1-6/+12
2014-04-23re PR sanitizer/60275 ([UBSAN] Add -f[no-]sanitize-recover/-fsanitize-undefin...Jakub Jelinek1-26/+53
2014-04-08re PR sanitizer/60745 (Many ICEs running libstdc++ testsuite with ubsan, mayb...Marek Polacek1-0/+5
2014-03-26ubsan.h (ubsan_create_data): Change second argument's type to const location_...Jakub Jelinek1-4/+4