hook_diff
Compare two Hook versions to identify changes in imports, exports, HookOn, size, instructions, and security-sensitive capabilities like emit or foreign-state write.
Instructions
Compare two Hook versions (before/after an upgrade): imports/exports added or removed, HookOn changes, size/instruction deltas, and any newly-gained security-sensitive capability (emit, foreign-state write, hook_again, signature verify). Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| afterHookOn | No | ||
| afterWasmHex | No | ||
| beforeHookOn | No | ||
| beforeWasmHex | No | ||
| afterWasmBase64 | No | ||
| beforeWasmBase64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| exports | No | ||
| firesOn | No | ||
| imports | No | ||
| summary | No | ||
| loopDelta | No | ||
| guardDelta | No | ||
| byteSizeAfter | No | ||
| byteSizeDelta | No | ||
| byteSizeBefore | No | ||
| instructionDelta | No | ||
| newSensitiveCapabilities | No |