Date: Tue, 31 Jan 2012 23:49:55 +0200 From: Gleb Kurtsou <gleb.kurtsou@gmail.com> To: d@delphij.net Cc: mdf@FreeBSD.org, freebsd-arch@freebsd.org Subject: Re: Testing to make sure there is no ABI change Message-ID: <20120131214955.GA23246@reks> In-Reply-To: <CAMBSHm8j0f5ThXGsXx7hXeU4OLzt4=H-i0_F3fwiMj0j-ZS2ig@mail.gmail.com> References: <4F2848C3.2090606@delphij.net> <CAMBSHm8j0f5ThXGsXx7hXeU4OLzt4=H-i0_F3fwiMj0j-ZS2ig@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On (31/01/2012 12:05), mdf@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@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@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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120131214955.GA23246>