diff options
Diffstat (limited to 'fix-new-radare.patch')
-rw-r--r-- | fix-new-radare.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fix-new-radare.patch b/fix-new-radare.patch new file mode 100644 index 000000000000..28375281bf17 --- /dev/null +++ b/fix-new-radare.patch @@ -0,0 +1,16 @@ +--- ui/radare_core.py ++++ ui/radare_core.py.orig +@@ -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:
\ No newline at end of file |