freebsd-dev/usr.sbin/kldxref
Konstantin Belousov d7751071bc kldxref: do not error out if specified path is not directory, for -d mode
kldxref(8) is the only tool that can dump FreeBSD kernel module
metadata, with the -d option. But the command line requirements for that
are inconvenient, since parser requires that argv[1] is a directory
containing whole set of modules to generate xref file.

For -d, allow argv[0] to be a regular file, now it is possible to do e.g.
   $ kldxref -d /boot/kernel/ufs.ko
to see only ufs.ko metadata.

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D30368
2021-05-20 22:40:01 +03:00
..
ef_aarch64.c kldxref: improve style(9) 2018-01-17 19:59:43 +00:00
ef_amd64.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef_i386.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef_mips.c Parse MIPS relocations to unbreak kldxref on MIPS. 2019-04-24 23:35:10 +00:00
ef_nop.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef_obj.c kldxref: improve style(9) 2018-01-17 19:59:43 +00:00
ef_powerpc.c Fix kldxref on PowerPC64 2019-02-27 13:24:42 +00:00
ef_riscv.c Add support for relocations in RISC-V kernel modules to kldxref. 2018-10-08 19:15:58 +00:00
ef.c Bump kldxref's MAXSEGS to 16, to stop complaints about the kernel 2020-08-20 18:50:46 +00:00
ef.h kldxref: handle modules with md_cval at the end of allocated sections 2018-01-16 18:20:12 +00:00
fileformat
kldxref.8
kldxref.c kldxref: do not error out if specified path is not directory, for -d mode 2021-05-20 22:40:01 +03:00
Makefile pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00