Skip to content

Commit

Permalink
Merge pull request vivisect#638 from rnumsu/ihex_patch
Browse files Browse the repository at this point in the history
Missing IHEX_REC_STARTLINADDR check
  • Loading branch information
invisig0th authored Feb 8, 2024
2 parents 6d6a5d9 + b3846f3 commit 61928cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vstruct/defs/ihex.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ def getMemoryMaps(self):
if ctype == IHEX_REC_EOF:
break

if ctype == IHEX_REC_STARTLINADDR:
continue

raise Exception('Unhandled IHEX chunk: %s' % chunk.recordtype)

memparts.sort()
Expand Down

0 comments on commit 61928cd

Please sign in to comment.