Skip to content

Commit

Permalink
Bug fix that allows extraction of blobs at byte 0
Browse files Browse the repository at this point in the history
  • Loading branch information
zznop committed Sep 13, 2024
1 parent 5558e8f commit 4df1a36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"libmagic1"
]
},
"version": "1.0.0",
"version": "1.0.1",
"author": "Vector 35 Inc.",
"minimumbinaryninjaversion": 5333
}
2 changes: 1 addition & 1 deletion sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def _handleBlobIdResults(self, results: list) -> None:
self.blobsTable.setItem(i, 2, TextTableItem(getMonospaceFont(self), report.handler_name))
self.blobsTable.setItem(i, 3, TextTableItem(getMonospaceFont(self), "Yes" if report.is_encrypted else "No"))

if (report.handler_name != "elf32" and report.start_offset != 0) and report.handler_name == "padding":
if not (report.handler_name == "elf32" and report.start_offset == 0) and not report.handler_name == "padding":
extractable = True

if extractable:
Expand Down

0 comments on commit 4df1a36

Please sign in to comment.