Advertisement
Guest User

bartus

a guest
Jul 15th, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  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:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement