title: Identifying Unused Functions in C/C++
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2380153/finding-dead-code-in-a-large-c-legacy-application">Finding &ldquo;dead code&rdquo; in a large C++ legacy application</a>  </p>
  </blockquote>
  
  
  
  <p>My project has a lots of C source files each with a lots of global functions.  Many of these are no longer referenced by any caller at all.  Is there a simple way to identify which of these functions are not referenced by anyone at all?</p>
  
  <p>The map file generated by VC seems to be useful.  But I am not sure exactly how/when a function name is listed in the map file.</p>