Skip to content

Commit

Permalink
Merge pull request #21 from vsoch/allow-unseen-die
Browse files Browse the repository at this point in the history
do not exit on edge case
  • Loading branch information
vsoch committed Jul 30, 2022
2 parents 0ad3bab + 1c65a82 commit a631dbc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cle/backends/elf/corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,9 +1281,11 @@ def parse_underlying_type(self, die, flags=None, type_name="DW_AT_type"):
]:
return self.parse_underlying_type(type_die, flags=flags)

print(type_die)
print("NOT SEEN TYPE DIE")
sys.exit(0)
# Commented out so spliced doesn't fail
# print(type_die)
# print("NOT SEEN TYPE DIE")
# sys.exit(0)
return unknown_type

def add_class(self, die):
"""
Expand Down

0 comments on commit a631dbc

Please sign in to comment.