[tor-bugs] #10915 [Tor]: Tool to find unused functions in Tor

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 6 00:54:58 UTC 2015


#10915: Tool to find unused functions in Tor
------------------------+--------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.???
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-relay
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------

Comment (by teor):

 Ah, apparently it's not as easy as that.
 http://stackoverflow.com/a/4857905
 explains that GCC compiler + linker will do it with the right arguments,
 but I wonder if it only works for externally declared functions if it's
 happening during linking.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10915#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list