frida-native-hooks
Installation
SKILL.md
Frida Native Hooks
Use this skill when the target is a native function or memory behavior.
Discovery First
- Identify process architecture and module:
console.log(Process.arch, Process.platform, Process.pointerSize); for (const m of Process.enumerateModules()) console.log(m.name, m.base, m.size); - Resolve addresses through Frida APIs when possible:
const mod = Process.getModuleByName("libtarget.so"); const fn = mod.getExportByName("target_function"); - If names are stripped, search imports/exports first, then symbols, strings, and byte patterns.
- On ARM/Thumb, prefer addresses returned by Frida APIs so instruction-set details are handled correctly.