| From: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
|---|---|
| To: | Andres Freund <andres(at)anarazel(dot)de> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Make memory checking / sanitizing infrastructure better |
| Date: | 2026-05-28 17:29:50 |
| Message-ID: | CAOYmi+nZ3kgQU81EanGZf79HUgOqFjjqhyEr=w9SrLhaNk184w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, May 28, 2026 at 9:07 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> 4) For this I prototyped making the valgrind annotations more generic and
> using the address sanitizer interface to mark memory as poisoned /
> unpoisoned. That doesn't provide quite all the checking that valgrind can
> do (it doesn't track uninitialized memory), but it's considerably better
> than our memory context checking, and *much* *much* faster than valgrind.
Neat! I was recently hoping for this in [1].
> I have prototype patches for 1-4, but wanted to hear about whether such
> changes sound sane to others, before spending time to polish all of this up.
They all sound like nice improvements to me. I like the idea in (5), too.
--Jacob
[1] https://postgr.es/m/CAOYmi%2BnCg5upBVOo_UCSjMfO%3DYMkZXcSEsgaADKXqerr5wahZQ%40mail.gmail.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-05-28 18:11:45 | Re: Heads Up: cirrus-ci is shutting down June 1st |
| Previous Message | Jacob Champion | 2026-05-28 17:23:24 | Re: A few message wording/formatting cleanup patches |