aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/ChangeLog
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-08-05 00:17:11 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-08-05 00:17:11 +0000
commit5b42ee2cded7c2173ea0e9f9e08dd1d9b226ed3e (patch)
tree30aa1804d7a8309fe5a5523eac344016ab86b089 /gcc/analyzer/ChangeLog
parent4e87c953d16377457b31b65b6c3268d932e462ab (diff)
downloadgcc-5b42ee2cded7c2173ea0e9f9e08dd1d9b226ed3e.zip
gcc-5b42ee2cded7c2173ea0e9f9e08dd1d9b226ed3e.tar.gz
gcc-5b42ee2cded7c2173ea0e9f9e08dd1d9b226ed3e.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/analyzer/ChangeLog')
-rw-r--r--gcc/analyzer/ChangeLog44
1 files changed, 44 insertions, 0 deletions
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 <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
+
+ * 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 <dmalcolm@redhat.com>
PR analyzer/110882