SHARE
TWEET

bartus

a guest Jul 15th, 2016 123 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- ui/radare_core.py
  2. +++ ui/radare_core.py.orig
  3. @@ -456,8 +465,11 @@
  4.              if entryp:
  5.                  self.full_fileinfo['eps'] = []
  6.                  for line in entryp.split('\n'):
  7. -                    line = line.strip('[').strip(']')
  8. -                    self.full_fileinfo['eps'].append(['Entry0', hex(int(line))])
  9. +                    line = line.strip()
  10. +                    if line != "":
  11. +                      entries = eval(line.strip()) # fuck it, just use an eval
  12. +                      for entry in entries:
  13. +                        self.full_fileinfo['eps'].append(['Entry0', hex(entry['vaddr'])])
  14.              # Get symbols
  15.              symbols = self.send_cmd_str('is')
  16.              if symbols:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top