Testing to make sure there is no ABI change

Gleb Kurtsou gleb.kurtsou at gmail.com
Tue Jan 31 22:16:41 UTC 2012


On (31/01/2012 12:05), mdf at FreeBSD.org wrote:
> Gleb has a tool that examines DWARF debug code, and some wrappers to
> add the libc syscall shims as well.  I got stalled by $WORK on the
> ino64 branch so I haven't used it yet.
> 
> For KBI, though, I think it's still by hand.

It's also hosted on github:
https://github.com/glk/shlib-compat

shlib-compat can be used on kernel code as well to compare *.o files
with debugging info. You'll need to specify list of symbols, e.g. with
--include-sym/--exclude-sym. But it's scope is limited by function
signature checks, you won't be able to compare binary sysctls, ioctls,
etc.

Thanks,
Gleb.

> 
> Cheers,
> matthew
> 
> On Tue, Jan 31, 2012 at 12:02 PM, Xin Li <delphij at delphij.net> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > Hi,
> >
> > Is there a better way to test if there is a breaking ABI change than
> > eye inspection for a C library?
> >
> > Cheers,
> > - --
> > Xin LI <delphij at delphij.net>    https://www.delphij.net/
> > FreeBSD - The Power to Serve!           Live free or die
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.18 (FreeBSD)
> >
> > iQEcBAEBCAAGBQJPKEjDAAoJEG80Jeu8UPuzY2oH/0GPyvGPKYSuG2bxfSsaVBmt
> > SbyXtYbHHK8qRVy0AoD5Uq0v3UElrSSQKwYyPieq3WoxRsh/Clekpg1bdvnthMcU
> > OahMUqFmySgmXflNxHaMmmDPEKTEVALqABB8nzPqqTEOxx91p2aDw8X+rPrWxT18
> > AajVwvM+c9LOgsu+KVrVcG/e1lMWizuo7PtCSxsuyBGNAq0b5Gi9GUai0AY6Xm7e
> > awCVjeA1mI04v8J6130ePrOV8z7eEIl9QK6r2JHPRma6CDr687uXAzZsAJ5YPBoT
> > n1pRmOqTTvIaezO/DjORC74rMOkaohrdIj8wpJnQQmHUuM/dYUwNzg/ePmFX/A0=
> > =6215
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > freebsd-arch at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> > To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"


More information about the freebsd-arch mailing list