pwn-ffi-fftw
Drive PWN::FFI::FFTW from pwn_eval.
SKILL.mdetc/default_skills/pwn/ffi/fftw/SKILL.md
GitHubPWN::FFI::FFTW
Thin single-precision FFTW3 binding (libfftw3f). Used by PWN::SDR::* spectrum work (GQRX FFT snapshots, wideband energy detectors) when MHz-rate FFTs outgrow pure-Ruby DFT. Missing library degrades cleanly via .available? — callers keep pure-Ruby fallbacks. No compile step at gem install; no shells. Plans are built with FFTW_ESTIMATE so first-call latency stays acceptable for REPL use.
When to use
Call PWN::FFI::FFTW from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ffi/fftw.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::FFI::FFTW.help
PWN::FFI::FFTW.available(opts)
Public methods
availablerfftrfft_magnituderfft_power_dbcfftauthorshelpavailable?fftwf_cleanupfftwf_destroy_planfftwf_executefftwf_freefftwf_mallocfftwf_plan_dft_1dfftwf_plan_dft_c2r_1dfftwf_plan_dft_r2c_1dload_error
Source
pwn/ffi/fftw.rb
Verification
PWN::FFI::FFTW.respond_to?(:available) after the
module is loaded. Read the source for parameter names.