summaryrefslogtreecommitdiff
path: root/python/examples/notification_callbacks.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2020-04-06 05:44:53 -0400
committerGlenn Smith <glenn@vector35.com>2020-04-06 05:44:53 -0400
commitc2b6b56fbc9e7dcd8fde1e0727e440e1ea7c406e (patch)
tree8d8a415f80b6a0edafae089ad34e5ef3eb80619e /python/examples/notification_callbacks.py
parentfe5079471419f18142a627d00340c86fa844fdf4 (diff)
Add various missing BinaryDataNotification callbacks in python
Diffstat (limited to 'python/examples/notification_callbacks.py')
-rw-r--r--python/examples/notification_callbacks.py27
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))