public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* abidw for non-exported structures
@ 2021-02-25 11:25 Ketan Patil
  2021-02-25 13:41 ` Matthias Maennich
  0 siblings, 1 reply; 4+ messages in thread
From: Ketan Patil @ 2021-02-25 11:25 UTC (permalink / raw)
  To: libabigail; +Cc: Sachin Nikam, Nicolin Chen

Hi,

I was experimenting with abidw and abidiff tools to check ABI changes in linux kernel.
I had performed few experiments:

  1.  Changing exported structures:
     *   I changed few structures (added some dummy members in between) which were exported and build the kernel and created abi xml file using abidw tool.
     *   Then I compared this xml with the baseline xml (kernel without any changes) using abidiff tool and I found that it catches this ABI change.
  2.  Changing non-exported structures:
     *   I changed few non-exported structures e.g. struct dm_ioctl In https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/uapi/linux/dm-ioctl.h?h=v5.10.18
     *   This struct is being used by a number of ioctls. So I think, changing this struct should be flagged as an ABI change.
     *   Then I build the kernel and created the new abi xml file using abidw tool and compared with baseline xml using abidiff tool.
     *   abidiff tool is not able to catch this. Also, I don't see any entry for dm_ioctl in the xml generated using abidw.


Does it mean that, abidw tool does not work for the non exported symbols? If yes, are you planning to add this feature?
Can you please let me know or redirect?

Thanks,
Ketan Patil


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-05 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 11:25 abidw for non-exported structures Ketan Patil
2021-02-25 13:41 ` Matthias Maennich
2021-03-03  7:15   ` Ketan Patil
2021-03-05 15:00     ` Sachin Nikam

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).