title: Ways to find all function definitions in a elf binary
body: <p>Suppose I have a lib xxx.so. So I get all function names and parameters by 
  following commnad:</p>
  
  <pre><code>readelf -Ws xxx.so  |c++filt 
  </code></pre>
  
  <p>It will output following:</p>
  
  <pre><code>  711: 00270209    40 FUNC    GLOBAL DEFAULT    8 debug_c_tree
    7712: 00270231   128 FUNC    GLOBAL DEFAULT    8 pp_c_tree_decl_identifier
    7713: 00270723    90 FUNC    GLOBAL DEFAULT    8 pp_c_init_declarator
    7714: 002f546c     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
    7715: 002f546c     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
    7716: 002fc9e1     0 NOTYPE  GLOBAL DEFAULT  ABS _end
  </code></pre>
  
  <p>But how can I easily dump all function body like following in a elf binary:</p>
  
  <pre><code>debug_c_tree() 
  {
    mov eax, edx;
    ....
    ....
  }
  
  ....
  </code></pre>