Skip to content
Back to skills

Fftw

ASecurity

Drive PWN::FFI::FFTW from pwn_eval.

  • 86 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
securityrubyshell

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add 0dayInc/pwn --skill fftw --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fftw?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fftw
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0dayinc-fftw/badge)](https://www.skillsdirectory.com/skills/0dayinc-fftw)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pwn-ffi-fftw
description: Drive PWN::FFI::FFTW from pwn_eval.
license: MIT
allowed-tools: [pwn, pwn_eval]
metadata:
  bundled: true
  generated: true
  module: PWN::FFI::FFTW
  source: pwn/ffi/fftw.rb
---

# PWN::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

```ruby
PWN::FFI::FFTW.help
PWN::FFI::FFTW.available(opts)
```

## Public methods

- `available`
- `rfft`
- `rfft_magnitude`
- `rfft_power_db`
- `cfft`
- `authors`
- `help`
- `available?`
- `fftwf_cleanup`
- `fftwf_destroy_plan`
- `fftwf_execute`
- `fftwf_free`
- `fftwf_malloc`
- `fftwf_plan_dft_1d`
- `fftwf_plan_dft_c2r_1d`
- `fftwf_plan_dft_r2c_1d`
- `load_error`

## Source

`pwn/ffi/fftw.rb`

## Verification

`PWN::FFI::FFTW.respond_to?(:available)` after the
module is loaded. Read the source for parameter names.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…