From 432a8cdf64052db5fef7df792e2a5a51734d27af Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 2 Dec 2020 15:42:58 -0500 Subject: Callback for address changes #2166 --- examples/uinotification/uinotification.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'examples/uinotification/uinotification.cpp') diff --git a/examples/uinotification/uinotification.cpp b/examples/uinotification/uinotification.cpp index b7c22bde..ca53c560 100644 --- a/examples/uinotification/uinotification.cpp +++ b/examples/uinotification/uinotification.cpp @@ -85,6 +85,12 @@ void NotificationListener::OnViewChange(UIContext* context, ViewFrame* frame, co } +void NotificationListener::OnAddressChange(UIContext* context, ViewFrame* frame, View* view, const ViewLocation& location) +{ + LogInfo("OnAddressChange: %llx", location.getOffset()); +} + + extern "C" { BINARYNINJAPLUGIN bool UIPluginInit() -- cgit v1.3.1