[][src]Crate frida_rs

Write Frida scripts in Rust thanks to the power of WebAssembly.

For an example of how to structure an agent using this crate, please refer to https://github.com/Ayrx/frida-rs-example.

This crate is still a work-in-progress. The API is not stable and is subject to breaking changes until the crate reaches 1.0. Use with care.

Modules

console
cpu

Structures to access a CPU context.

interceptor

Frida functions for Interceptor functionality.

module

Frida functions for module-level functionality.

process

Frida functions for process-level functionality.

range
thread

Macros

console_error

Write to the console of a Frida-based application.

console_log

Write to the console of a Frida-based application.

console_warn

Write to the console of a Frida-based application.

Structs

ArrayBuffer
NativePointer

Wrapper for a pointer on the instrumented target.

RecvMessage

Generic type representing a message from your Frida application.

Functions

heap_size

Get the current size of Frida's private heap.

hexdump

Generate a hexdump for the provided target.

hexdump_arraybuffer

Generate a hexdump for the provided target.

recv

Receive a message from your Frida application.

recv_with_type

Receive a message from your Frida application.

runtime

Get the runtime in use.

send

Send a message to your Frida application.

send_with_byte_array

Send a message to your Frida application.

version

Get the current Frida version.