diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-07-14 14:07:25 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-07-15 14:17:17 -0400 |
| commit | ef0604078bccf7f6896db1d11137cfabb7d7fb4e (patch) | |
| tree | 1158d8a26b5f20fe6127ce83fe511921b13e57b6 /python/examples | |
| parent | 9f898cac33044cb3e514a6352789b0c77eea1d91 (diff) | |
Fixed wrong enumeration in angr plugin
Diffstat (limited to 'python/examples')
| -rw-r--r-- | python/examples/angr_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/angr_plugin.py b/python/examples/angr_plugin.py index c84373be..26f8040c 100644 --- a/python/examples/angr_plugin.py +++ b/python/examples/angr_plugin.py @@ -42,7 +42,7 @@ from binaryninja.binaryview import BinaryView from binaryninja.plugin import BackgroundTaskThread, PluginCommand from binaryninja.interaction import show_plain_text_report, show_message_box from binaryninja.highlight import HighlightColor -from binaryninja.enums import HighlightStandardColor, MessageBoxButtonSet +from binaryninja.enums import HighlightStandardColor, MessageBoxButtonSet, MessageBoxIcon # Disable warning logs as they show up as errors in the UI logging.disable(logging.WARNING) @@ -137,7 +137,7 @@ def solve(bv): if len(bv.session_data.angr_find) == 0: show_message_box("Angr Solve", "You have not specified a goal instruction.\n\n" + "Please right click on the goal instruction and select \"Find Path to This Instruction\" to " + - "continue.", MessageBoxButtonSet.OKButtonSet, MessageBoxButtonSet.ErrorIcon) + "continue.", MessageBoxButtonSet.OKButtonSet, MessageBoxIcon.ErrorIcon) return # Start a solver thread for the path associated with the view |
