| Name |
Type |
Description |
Notes |
| identifier |
str |
Hook identifier. |
|
| label |
str |
Hook label. |
|
| address |
str |
EL1/kernel virtual address, in hexadecimal, where the hook fires: the patch runs each time the device executes the instruction at this address. If a slide is applied at runtime, do not include it. |
|
| patch |
str |
The code to run when the hook fires, in the language given by `patchType`. |
|
| patch_type |
HookPatchType |
|
|
| enabled |
bool |
Whether the hook runs. Disabled hooks are kept but skipped. |
|
| instance_id |
str |
Owning instance identifier. |
|
| created_at |
datetime |
Creation timestamp. |
|
| updated_at |
datetime |
Last update timestamp. |
|
from corellium.models.hook import Hook
# TODO update the JSON string below
json = "{}"
# create an instance of Hook from a JSON string
hook_instance = Hook.from_json(json)
# print the JSON string representation of the object
print(Hook.to_json())
# convert the object into a dict
hook_dict = hook_instance.to_dict()
# create an instance of Hook from a dict
hook_from_dict = Hook.from_dict(hook_dict)
[Back to Model list] [Back to API list] [Back to README]