rma-plugins 0.4.0

WASM plugin system for custom analysis rules
Documentation

WASM Plugin System for RMA

This crate provides a WebAssembly-based plugin system that allows users to write custom analysis rules in any language that compiles to WASM.

Plugin Interface

Plugins implement a simple interface:

  • analyze(source: &str, language: &str) -> Vec<Finding>

Example Plugin (Rust compiled to WASM)

#[no_mangle]
pub extern "C" fn analyze(source_ptr: *const u8, source_len: usize) -> *mut Finding {
    // ... analysis logic
}