Trigger a real illegal CPU instruction (SIGILL) from Node.js via a tiny native addon.
npm install sigill-crashTrigger a real illegal CPU instruction from Node.js (causes SIGILL on Linux/macOS).
> ⚠️ This will immediately crash the current process. Use only for testing crash handlers, supervisors, core dump pipelines, etc.
``bash`
npm i sigill-crashor
pnpm add sigill-crash
`js``
const { illegal } = require("sigill-crash");
illegal();
MIT