Ole André Vadla RavnåsandHåvard Sørbø e2ffd0aa6c Auto-generate Node-API bindings from .gir
Which means API changes in frida-core are instantly reflected, with only
customizations needing tweaking, if applicable.

And, since we now target Node-API there will now only be one prebuilt
binary per OS/ABI.

Co-authored-by: Håvard Sørbø <[email protected]>
2025-05-08 10:05:20 +02:00
2024-12-12 13:38:03 +01:00
2025-03-20 17:00:34 +01:00
2024-02-27 11:44:42 +01:00
2024-02-27 11:44:42 +01:00

frida-node

NPM version NPM Downloads

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
S
Description
Frida Node.js bindings
Readme
1.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 59.8%
C 24.4%
TypeScript 12.3%
Meson 2.6%
Batchfile 0.5%
Other 0.4%