[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs