Name | Date | Size | ||
---|---|---|---|---|
.. | 02-May-2018 | 85 | ||
Makefile.sysfake | H A D | 18-Aug-2016 | 234 | |
makesyscalls-fake.sh | H A D | 18-Aug-2016 | 2.8 KiB | |
README | H A D | 18-Aug-2016 | 807 | |
shlib-compat-dirs.sh | H A D | 18-Aug-2016 | 967 | |
shlib-compat.py | H A D | 18-Aug-2016 | 38.1 KiB | |
test/ | H | 20-Dec-2016 | 21 |
README
1ABI compatibility checker for shared libraries with symbol versioning. 2 3shlib-compat uses dwarf debugging symbols to recreate definitions of 4exported symbols, including function arguments and structural types. 5 6The shlib-compat.py script requires devel/dwarfdump port to be 7installed. 8 9 10Syscalls in libc are implemented as assembly stubs and thus have no 11debugging symbols attached. To enable sysfake stubs rebuild libc 12adding the following to /etc/make.conf: 13 14.if ${.CURDIR:M/usr/src/lib/libc} 15.include "../../tools/tools/shlib-compat/Makefile.sysfake" 16.endif 17 18To compare libc.so versions compiled with sysfake stubs: 19./shlib-compat.py -v --alias-prefix __sysfake_ \ 20 --alias-prefix __sysfake_freebsd8_ \ 21 --exclude-ver FBSDprivate \ 22 --out-orig out-orig.c --out-new out-new.c libc.so.7.orig libc.so.7.new 23