mirror of
https://github.com/frida/frida-node.git
synced 2026-11-07 09:35:57 -10:00
dependabot/npm_and_yarn/multi-456de2e4f1
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 6.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](https://github.com/yahoo/serialize-javascript/compare/v6.0.0...v6.0.2) Updates `mocha` from 10.2.0 to 10.8.2 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.8.2) --- updated-dependencies: - dependency-name: serialize-javascript dependency-type: indirect - dependency-name: mocha dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]>
frida-node
Node.js bindings for Frida.
Depends
- Node.js 8.x or newer
Install
Install from binary:
$ npm install frida
Install from source:
$ make
$ npm install
Build for Electron:
$ ./configure --with-runtime=electron --with-target=27.0.0
$ make
$ 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
To recompile only the C++ files that have changed, first run the
"Install from source" step above, then simply run make again.
Packaging
$ ./configure --with-runtime=electron --with-target=27.0.0
$ make prebuild
Languages
Python
59.8%
C
24.4%
TypeScript
12.3%
Meson
2.6%
Batchfile
0.5%
Other
0.4%