diff options
| author | Glenn Smith <glenn@vector35.com> | 2020-04-06 05:44:53 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2020-04-06 05:44:53 -0400 |
| commit | c2b6b56fbc9e7dcd8fde1e0727e440e1ea7c406e (patch) | |
| tree | 8d8a415f80b6a0edafae089ad34e5ef3eb80619e /python/examples | |
| parent | fe5079471419f18142a627d00340c86fa844fdf4 (diff) | |
Add various missing BinaryDataNotification callbacks in python
Diffstat (limited to 'python/examples')
| -rw-r--r-- | python/examples/notification_callbacks.py | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/python/examples/notification_callbacks.py b/python/examples/notification_callbacks.py index 1f536972..93be336e 100644 --- a/python/examples/notification_callbacks.py +++ b/python/examples/notification_callbacks.py @@ -20,8 +20,7 @@ import inspect -from binaryninja import BinaryDataNotification -from binaryninja import PluginCommand +from binaryninja import BinaryDataNotification, PluginCommand, log def reg_notif(view): @@ -59,6 +58,30 @@ class DemoNotification(BinaryDataNotification): def data_var_removed(self, *args): log.log_info(inspect.stack()[0][3] + str(args)) + def data_metadata_updated(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def tag_type_updated(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def tag_added(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def tag_updated(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def tag_removed(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def symbol_added(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def symbol_updated(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + + def symbol_removed(self, *args): + log.log_info(inspect.stack()[0][3] + str(args)) + def string_found(self, *args): log.log_info(inspect.stack()[0][3] + str(args)) |
