MCPcopy Create free account
hub / github.com/qilingframework/qiling / _hook_call

Method _hook_call

qiling/hw/peripheral.py:49–57  ·  view source on GitHub ↗
(self, hook_list, access, offset, size, value=0)

Source from the content-addressed store, hash-verified

47 mapper[hook_flag].remove(hook_function)
48
49 def _hook_call(self, hook_list, access, offset, size, value=0):
50 retval = None
51 for callback, user_data in hook_list:
52 if user_data is None:
53 retval = callback(self, access, offset, size, value)
54 else:
55 retval = callback(self, access, offset, size, value, user_data)
56
57 return retval
58
59 @staticmethod
60 def monitor(width=4):

Callers 2

readMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected