freebsd-nq/lib/libproc
Mark Johnston 1bdc41d252 Refine symtab sorting in libproc.
Add some rules to more closely match what illumos does when an address
resolves to multiple symbols:
- prefer non-local symbols
- prefer symbols with fewer leading underscores and no leading '$'

Add some regression tests to verify these rules.
2017-11-21 16:03:21 +00:00
..
tests Refine symtab sorting in libproc. 2017-11-21 16:03:21 +00:00
_libproc.h Avoid keeping a dangling pointer when the mappings array is resized. 2017-09-06 16:24:34 +00:00
crc32.c
crc32.h
libproc.h
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile.inc
proc_bkpt.c o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
proc_create.c Add initializations missed in r315728. 2017-03-22 18:33:29 +00:00
proc_regs.c o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
proc_rtld.c Avoid keeping a dangling pointer when the mappings array is resized. 2017-09-06 16:24:34 +00:00
proc_sym.c Refine symtab sorting in libproc. 2017-11-21 16:03:21 +00:00
proc_util.c