From 80c64c26e4f368ccc8449eabdd043e2ae77233ee Mon Sep 17 00:00:00 2001 From: Seva Alekseyev Date: Tue, 1 Oct 2024 12:35:40 -0400 Subject: [PATCH] Frames in v1 --- dwex/__main__.py | 2 +- dwex/dwarfone.py | 12 ++++++++++++ setup.py | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dwex/__main__.py b/dwex/__main__.py index 81f6965..44657f3 100644 --- a/dwex/__main__.py +++ b/dwex/__main__.py @@ -17,7 +17,7 @@ from .funcmap import FuncMapDlg, GatherFuncsThread # Sync with version in setup.py -version = (4, 22) +version = (4, 23) # TODO: # On MacOS, start without a main window, instead show the Open dialog diff --git a/dwex/dwarfone.py b/dwex/dwarfone.py index 2674825..bcfc7dd 100644 --- a/dwex/dwarfone.py +++ b/dwex/dwarfone.py @@ -235,6 +235,9 @@ def iter_DIE_children(self, die): cur_offset = child._terminator.offset + child._terminator.size + def get_DIE_from_refaddr(self, refaddr): + return self.DIE_at_offset(refaddr) + class LineTableV1(object): def __init__(self, stm, structs, len, pc): self.stm = stm @@ -362,6 +365,15 @@ def range_lists(self): def get_aranges(self): return None + + def has_CFI(self): + return False + + def has_CFI(self): + return False + + def has_EH_CFI(self): + return False def parse_dwarf1(elffile): return DWARFInfoV1(elffile) diff --git a/setup.py b/setup.py index 4d2e4b1..019af18 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ def run(self): setup( name='dwex', - version='4.22', # Sync with version in __main__ + version='4.23', # Sync with version in __main__ packages=['dwex'], url="https://github.com/sevaa/dwex/", entry_points={"gui_scripts": ["dwex = dwex.__main__:main"]},