hook optimization
This commit is contained in:
parent
a02e3b0daa
commit
e5b04e917f
|
@ -76,6 +76,8 @@ const hookLibrary = (name) => {
|
||||||
|
|
||||||
let hookedCount = 0;
|
let hookedCount = 0;
|
||||||
functions.forEach((func) => {
|
functions.forEach((func) => {
|
||||||
|
if (func.type !== 'function') return;
|
||||||
|
|
||||||
const funcName = func.name;
|
const funcName = func.name;
|
||||||
const funcAddr = func.address;
|
const funcAddr = func.address;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue