title: Are there any tools to extract basic blocks and CFG (Control Flow Graph) from executable files
body: <p>I'm working on source code control flow obfuscation in native code such as <code>C/C++</code>. I'm researching on some techniques which do it and resulting spaghetti code.</p>
  
  <p>But we want to evaluate compiled file and compare the original one with equivalent obfuscated one. is there any tools to help us?</p>
  
  <p>there is some tools such as <a href="http://www.scitools.com/" rel="nofollow">Underestand</a> that extracts <code>CFG</code> from source code but we want extract <code>CFG</code> from <code>.exe</code> file.</p>
  
  <p>Thank you.</p>