mirror of
https://github.com/frida/frida-node.git
synced 2026-11-07 09:35:57 -10:00
bc61aa8b6d61a10b6d3df9b6fb88117fcaf75250
frida-node
Node.js bindings for Frida.
Depends
- Node.js 8.x or newer
Install
Install from binary:
npm install
Install from source:
FRIDA=/absolute/path/to/fully/compiled/frida/repo npm install
Examples
- Follow Setting up the experiment to produce a binary.
- Run the binary.
- Take note of the memory address the binary gives you when run.
- Run any of the examples, passing the name of the binary as a parameter, and the memory address as another.
(Note: only some examples use the memory address)
Developing
The prebuild tool is used to handle building from source and packaging.
To recompile only the C++ files that have changed, first run the "Install from source" step above, then simply run:
make -C build
Packaging
npm run prebuild
Languages
Python
59.8%
C
24.4%
TypeScript
12.3%
Meson
2.6%
Batchfile
0.5%
Other
0.4%