uniref.define.patch
- class uniref.define.patch.NativePatch(injector: object, address: int, enabled_code: bytes, disabled_code: bytes)
This class’s instance is returned by calling
MonoMethod.native_patchandMonoMethod.native_nop. You can use it to manage the patch.- property address: int
patch address
- disable() None
Disable the patch.
- enable() None
Enable the patch.
- is_enabled() bool
Check if the patch is enabled.