Skip to content

frida/frida-node

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

By using our own prebuild forks that depend on a newer node-abi package.
2f232a6

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

frida-node

NPM version NPM Downloads

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