别名
hookfuncreplaceclosuredetourfunctiondetour_function
参数
function
必填
要 patch 的 Function。传入 non-function 会产生 type error。
function
必填
其 function 会 install 或 map 到 target 的 Function。传入 non-function 会产生 type error。
返回值
function
在 hook install 前创建的 original target closure 的 cloned copy。