-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
binaryninjaIssue about Binary Ninja integrationIssue about Binary Ninja integration
Description
Lines 110 to 122 in 5065477
for try_item in method.code.tries: | |
self.bv.set_comment_at( | |
off + try_item.start_addr * 2, | |
f":try_start_{try_item.start_addr:x}", | |
) | |
self.bv.set_comment_at( | |
off + try_item.start_addr * 2 + try_item.insn_count * 2, | |
f":try_end_{try_item.start_addr+try_item.insn_count:x}", | |
) | |
self.bv.set_comment_at( | |
off + try_item.start_addr * 2 + try_item.insn_count * 2, | |
f"{try_item.handler}", | |
) |
There are no issues in 5.0.7648 (e79b961f) but there are warnings in 5.1.7851-dev. From a quick glance, it seems like it still adds comments (for now) even with warnings.
Reported by @utkonos in binja Slack. Mason said that workflows are the recommend way to do this, but Vector35/binaryninja-api#7051 was created for the current method (I think?).
utkonos
Metadata
Metadata
Assignees
Labels
binaryninjaIssue about Binary Ninja integrationIssue about Binary Ninja integration