File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ def __notify_next(ql: Qiling):
6767def check_and_notify_protocols (ql : Qiling , from_hook : bool = False ) -> bool :
6868 if ql .loader .notify_list :
6969 event_id , notify_func , notify_context = ql .loader .notify_list .pop (0 )
70- ql .log .info (f'Notify event: { event_id } , calling: { notify_func :#x} context: { notify_context :#x } ' )
70+ ql .log .info (f'Notify event: id = { event_id } , calling: { notify_func :#x} context: { notify_context } ' )
7171
7272 if from_hook :
7373 # When running from a hook the caller pops the return address from the stack.
7474 # We need to push the address to the stack as opposed to setting it to the instruction pointer.
75- ql .loader .call_function (0 , [ notify_context ] , notify_func )
75+ ql .loader .call_function (0 , notify_context , notify_func )
7676 else :
77- ql .loader .call_function (notify_func , [ notify_context ] , ql .loader .end_of_execution_ptr )
77+ ql .loader .call_function (notify_func , notify_context , ql .loader .end_of_execution_ptr )
7878
7979 return True
8080
You can’t perform that action at this time.
0 commit comments