mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-02 22:06:57 +01:00
16 lines
720 B
Diff
16 lines
720 B
Diff
--- ui/radare_core.py.orig
|
|
+++ ui/radare_core.py
|
|
@@ -456,8 +465,11 @@
|
|
if entryp:
|
|
self.full_fileinfo['eps'] = []
|
|
for line in entryp.split('\n'):
|
|
- line = line.strip('[').strip(']')
|
|
- self.full_fileinfo['eps'].append(['Entry0', hex(int(line))])
|
|
+ line = line.strip()
|
|
+ if line != "":
|
|
+ entries = eval(line.strip()) # fuck it, just use an eval
|
|
+ for entry in entries:
|
|
+ self.full_fileinfo['eps'].append(['Entry0', hex(entry['vaddr'])])
|
|
# Get symbols
|
|
symbols = self.send_cmd_str('is')
|
|
if symbols:
|