title: [IDA Pro][python Script] :: How to Export binary pattern of an address up to it is end?
body: <p>I wanna to export a function's binary pattern from its beginning address to its end address with python script in IDA pro.
  For example: <code>sub_454345</code>. I want to first identify in which address this function starts and then in which it ends, after that export the whole binary pattern for function <code>sub_454345</code>.</p>
  
  <p>Output example :</p>
  
  <pre><code>sub_454345
  Start Address : 0x401000
  End Address : 0xD5B000
  Binary Pattern : 55 8B EC 51 51 56 57 8B 7D 08 8D 45
  </code></pre>