No slash command · from reverse-engineering-plugin
Determines whether a hardware device or physical address range can be forwarded into a VM. Covers PCI/VFIO passthrough, USB host forwarding, ACPI device limitations, and /proc/iomem+e820 checks for address aliasing.
Ships in reverse-engineering-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
"Just forward the device to a Windows VM and let the real driver run" is a common plan for driving uncooperative hardware. It works for some device classes and fails silently for others. Classify before building.
VFIO (vfio-pci) binds and forwards a PCI function (or a USB device via
usb-host). If the thing you want isn't one of those, there is nothing to bind:
| Device shape | Forwardable? |
|---|---|
PCI/PCIe function (has a BDF in lspci) | Yes — vfio-pci, IOMMU group permitting |
| USB device | Yes — -device usb-host by vid:pid |
| ACPI device on LPC/eSPI (EC mailbox, Super-IO, GPIO, shared-RAM window) | No — not a bindable function; you'd have to re-emulate the host transport as a QEMU device model |
| Embedded-controller / eSPI peripheral the host kernel owns and shares (battery, thermal, keyboard all on the same EC) | No — a guest can't commandeer a shared host device |
If the thing is an ACPI \_SB.XXXX device reached through EC commands + a
shared memory window + GPIO interrupts, "pass it through" means "reimplement the
driver's host side as a virtual device" — which is the work you were trying to
avoid.
You can alias a host-physical range into a guest (a KVM memslot backed by an
mmap of /dev/mem, exposed at a guest GPA, with the guest's ACPI pointing
there). Whether it's safe depends on how firmware classified it:
sudo cat /proc/iomem | grep -iE '<addr prefix>|reserved|System RAM'
sudo dmesg | grep -iE 'BIOS-e820'
System RAM — the host kernel allocates from it; you cannot hand it to a
guest.device reserved / claimed by a named device (e.g. 40200000-40207fff : GXFP51B7:00) — firmware carved it out; the host doesn't use it as RAM, so
aliasing is low-risk. This is the aliasing-friendly case.If the secret or the protected session lives in SGX/TEE (see
sgx-sealed-secret-recovery), running the vendor stack in a guest does not help:
the hypervisor is in the TEE's threat model, so the host cannot read the
guest enclave's memory, and during normal operation a shared window carries only
the TEE's ciphertext. The plaintext, if it ever appears in host-visible memory,
does so below the OS (pre-boot firmware), not at the VM boundary.
State: (1) the device class and whether it's bindable; (2) the iomem/e820 classification of any window; (3) whether the control plane (the trigger) is forwardable, not just the data plane; (4) whether a TEE makes the whole thing moot. If any of (1)/(3)/(4) fails, say so plainly rather than greenlighting a QEMU device-model project that re-implements the driver.
sgx-sealed-secret-recovery — why the TEE boundary defeats host/VM observation.firmware-dump-region-map / ghidra-headless-decompile — reverse the host
transport if you must re-emulate it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub laurigates/claude-plugins --plugin reverse-engineering-plugin6 skills in this plugin
/acpi-table-reReverse-engineer ACPI tables (DSDT/SSDT) with iasl. Use when investigating a device's ACPI definition — find a device by _ADR/_HID, read a _DSM, or map wake sources (_PRW/GPE) for suspend/drain work. Covers iasl decompilation, the live tables on Linux, and the methods to grep./firmware-dump-region-mapEnumerate every region of a firmware/BIOS/SPI-flash dump before reverse-engineering one. Use when handed a flash image and about to carve out the EC, a DXE driver or the ME region. Covers the flash descriptor, extracting compressed UEFI volumes (raw grep misses strings), and host-vs-device split./Other plugins' skills for the same job