Project

General

Profile

Bug #2036

portions of libnisdb are likely dead code.

Added by Rich Lowe over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2012-01-25
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

While working on #2023 I was being very careful because of a complicated amount of unusual (and really crazy) interposition that the Makefile stated was possible, and the code was carefully written to deal with. The makefile describes this interposition as being used by "numerous applications".

I can't find any. NIS+ is the only historical one I've been able to find (and it was not "numerous", it was "rpc.nisd" even then). It is likely that a lot of that code is actually part of NIS+, and dead.

It is likely that this will be challenging to prove.


Related issues

Related to illumos gate - Bug #2023: libnisdb is inconsistently const-yResolved2012-01-24

Actions

History

#1

Updated by Rich Lowe over 7 years ago

During other work, I was reminded that meem put together something quite wonderful for cases like this:

http://blogs.oracle.com/meem/entry/hunting_cruft

See his 'dead-funcs' utility.

Also available in: Atom PDF