From 5b42ee2cded7c2173ea0e9f9e08dd1d9b226ed3e Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sat, 5 Aug 2023 00:17:11 +0000 Subject: Daily bump. --- gcc/analyzer/ChangeLog | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'gcc/analyzer/ChangeLog') diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 874b56d..b1970a8 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,47 @@ +2023-08-04 David Malcolm + + PR analyzer/110426 + * bounds-checking.cc (region_model::check_region_bounds): Handle + symbolic base regions. + * call-details.cc: Include "stringpool.h" and "attribs.h". + (call_details::lookup_function_attribute): New function. + * call-details.h (call_details::lookup_function_attribute): New + function decl. + * region-model-manager.cc + (region_model_manager::maybe_fold_binop): Add reference to + PR analyzer/110902. + * region-model-reachability.cc (reachable_regions::handle_sval): + Add symbolic regions for pointers that are conjured svalues for + the LHS of a stmt. + * region-model.cc (region_model::canonicalize): Purge dynamic + extents for regions that aren't referenced. + (get_result_size_in_bytes): New function. + (region_model::on_call_pre): Use get_result_size_in_bytes and + potentially set the dynamic extents of the region pointed to by + the return value. + (region_model::deref_rvalue): Add param "add_nonnull_constraint" + and use it to conditionalize adding the constraint. + (pending_diagnostic_subclass::dubious_allocation_size): Add "stmt" + param to both ctors and use it to initialize new "m_stmt" field. + (pending_diagnostic_subclass::operator==): Use m_stmt; don't use + m_lhs or m_rhs. + (pending_diagnostic_subclass::m_stmt): New field. + (region_model::check_region_size): Generalize to any kind of + pointer svalue by using deref_rvalue rather than checking for + region_svalue. Pass stmt to dubious_allocation_size ctor. + * region-model.h (region_model::deref_rvalue): Add param + "add_nonnull_constraint". + * svalue.cc (conjured_svalue::lhs_value_p): New function. + * svalue.h (conjured_svalue::lhs_value_p): New decl. + +2023-08-04 David Malcolm + + * svalue.cc (region_svalue::dump_to_pp): Support NULL type. + (constant_svalue::dump_to_pp): Likewise. + (initial_svalue::dump_to_pp): Likewise. + (conjured_svalue::dump_to_pp): Likewise. Fix missing print of the + type. + 2023-08-03 David Malcolm PR analyzer/110882 -- cgit v1.1