Michael Schmitt <[EMAIL PROTECTED]> writes:

| Andre Poenitz wrote:
>
>>Do you know of a tool to identify "dead" code? I.e. not accessed by
>>anything else? [gprof seems to be able to add usage count on a per-line
>>base, but that's just for the things actually used in the profile
>>run...]
>>
>
| Andre, I have written a tiny shell script that retrieves all symbols
| from (a) ./src/lyx and (b) the *.o files in the src directory (excluding
| src/tex2lyx).
>
| Afterwards, it compares the two sets of symbols and outputs a reduced
| list of abolished symbols.
>
| If you like the script, please add it to the cvs repository (whereever
| you it fits).
>
| Attached please also find a sample output (file d-symbols) for the
| current cvs and the qt frontend.

There must be a lot of false positives here... especially the
signatures from libc.

-- 
        Lgb

Reply via email to