Skip to content

Commit a80df14

Browse files
committed
Fixes
1 parent 381ed14 commit a80df14

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

dwex/__main__.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .treedlg import TreeDlg
2020

2121
# Sync with version in setup.py
22-
version = (4, 53)
22+
version = (4, 54)
2323
the_app = None
2424

2525
# TODO:
@@ -854,12 +854,16 @@ def on_aranges(self):
854854
self.show_warning("This binary does not have an aranges section.")
855855

856856
def on_frames(self):
857-
entries = get_di_frames(self.dwarfinfo)
858-
if entries:
859-
FramesDlg(self, entries, self.dwarfinfo, self.dwarfregnames, self.hex).exec()
860-
# TODO: navigate to function
861-
else:
862-
self.show_warning("This binary does not have neither an eh_frames section nor a debug_frames section.")
857+
try:
858+
entries = get_di_frames(self.dwarfinfo)
859+
if entries:
860+
FramesDlg(self, entries, self.dwarfinfo, self.dwarfregnames, self.hex).exec()
861+
# TODO: navigate to function
862+
else:
863+
self.show_warning("This binary does not have neither an eh_frames section nor a debug_frames section.")
864+
except KeyError: # 1761
865+
self.show_warning("Error parsing the frames section in this binary. Please report to the tech support: menu/Help/Report an issue.")
866+
863867

864868
def on_unwind(self):
865869
if self.dwarfinfo._unwind_sec:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def run(self):
123123

124124
setup(
125125
name='dwex',
126-
version='4.53', # Sync with version in __main__
126+
version='4.54', # Sync with version in __main__
127127
packages=['dwex'],
128128
url="https://github.com/sevaa/dwex/",
129129
entry_points={"gui_scripts": ["dwex = dwex.__main__:main"]},

0 commit comments

Comments
 (0)