From: Giuliano Procida <gprocida@google.com>
To: Dodji Seketeli <dodji@seketeli.org>
Cc: libabigail@sourceware.org, kernel-team@android.com,
"Matthias Männich" <maennich@google.com>
Subject: Re: [PATCH 2/3] Allow offset changes to be considered harmless.
Date: Thu, 14 May 2020 14:21:29 +0100 [thread overview]
Message-ID: <CAGvU0H=k2eQe3qYgxWMb0W737jRKS+sb4arLXxmobeUdNFphKg@mail.gmail.com> (raw)
In-Reply-To: <86imh0cb1y.fsf@seketeli.org>
Hi.
On Wed, 13 May 2020 at 12:46, Dodji Seketeli <dodji@seketeli.org> wrote:
> Giuliano Procida <gprocida@google.com> a écrit:
>
> > This changes lets the user flip offset changes from harmful to
> > harmless. This is a simple way of shrinking very verbose diffs where
> > most changes within structs are offset changes caused by much rarer
> > member addition, removal and size changes.
>
> Hmmh.
>
> I think this is probably too simple.
>
> Offset changes can really signal a problem on their own. So I am not
> for categorizing them as harmless.
>
> I understand that the reporting of offset changes that are a consequence
> of an addition, removal or change of a data member can be verbose, but
> I'd rather keep them as is for now, rather than risking some false
> negative because we want to go the easy route.
>
> In other words, if we really want to filter out those /consequential/
> offset changes, then we need to properly detect them and flag them as
> being filtered.
>
The tests do show them being filtered out. Did you mean in some other way?
+ 1 data member changes (2 filtered):
+ type of 'int S::a[4]' changed:
+ type name changed from 'int[4]' to 'int[8]'
+ array type size changed from 128 to 256
+ array type subrange 1 changed length from 4 to 8
> I understand that that is a bigger undertaking, but I think that would
> the right way to do it.
>
> So I'd rather not apply this patch, have an enhancement request filed
> for that task and discuss/work on it properly instead.
>
I think the wider discussion is mostly covered by the other email thread.
Regards,
Giuliano.
> Cheers,
>
> --
> Dodji
>
> --
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kernel-team+unsubscribe@android.com.
>
>
next prev parent reply other threads:[~2020-05-14 13:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 16:24 [PATCH 0/3] Add an option to give finer-grained control of offset reporting Giuliano Procida
2020-05-04 16:24 ` [PATCH 1/3] abidiff.cc: tidy using directives and declarations Giuliano Procida
2020-05-13 11:27 ` Dodji Seketeli
2020-05-13 15:56 ` Giuliano Procida
2020-05-14 8:22 ` Dodji Seketeli
2020-05-04 16:24 ` [PATCH 2/3] Allow offset changes to be considered harmless Giuliano Procida
2020-05-13 11:46 ` Dodji Seketeli
2020-05-14 13:21 ` Giuliano Procida [this message]
2020-05-04 16:24 ` [PATCH 3/3] Add abidiff --offset-changes-are-harmless tests Giuliano Procida
2020-05-13 11:48 ` Dodji Seketeli
2020-05-12 14:51 ` [PATCH 0/3] Add an option to give finer-grained control of offset reporting Matthias Maennich
2020-05-13 12:06 ` Dodji Seketeli
2020-05-13 19:38 ` Matthias Maennich
2020-05-14 8:35 ` Dodji Seketeli
2020-05-14 12:39 ` Giuliano Procida
2020-05-18 20:16 ` Matthias Maennich
2020-05-20 7:57 ` Dodji Seketeli
2020-05-18 20:09 ` Matthias Maennich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGvU0H=k2eQe3qYgxWMb0W737jRKS+sb4arLXxmobeUdNFphKg@mail.gmail.com' \
--to=gprocida@google.com \
--cc=dodji@seketeli.org \
--cc=kernel-team@android.com \
--cc=libabigail@sourceware.org \
--cc=maennich@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).