Re: [PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Sergei Trofimovich
On Wed, 07 Aug 2013 17:02:23 -0500 Eric Sandeen wrote: > On 8/7/13 4:43 PM, Sergei Trofimovich wrote: > > ... > > > Meet uselex.rb: one-file script to parse 'nm' output: > > > > https://github.com/trofi/uselex/blob/master/uselex.rb > > Nice to meet you! I think I've met your close relati

Re: [PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Eric Sandeen
On 8/7/13 4:43 PM, Sergei Trofimovich wrote: ... > Meet uselex.rb: one-file script to parse 'nm' output: > > https://github.com/trofi/uselex/blob/master/uselex.rb Nice to meet you! I think I've met your close relative, ftp://ftp.samba.org/pub/unpacked/junkcode/findstatic.pl :) #!/usr/bin

[PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Hi guys! TL;DR: the patches remove (currently or already) dead code and localize symbol visibility used only in one module. Thanks! The Story: Once upon a time I've got very simple idea to find dead code in large C/C++ mixed project at work. The things of my primary