Skip to content

Commit

Permalink
Frames in v1
Browse files Browse the repository at this point in the history
  • Loading branch information
sevaa committed Oct 1, 2024
1 parent 9d3b396 commit 80c64c2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dwex/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions dwex/dwarfone.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]},
Expand Down

0 comments on commit 80c64c2

Please sign in to comment.