summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples')
-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))