code-pattern-matching

Installation
SKILL.md

Code Pattern Matching

Search for code patterns in decompiled output using the Weggli pattern matching engine.

When to use

  • Find specific code patterns in decompiled functions (e.g., memcpy(dst, src, len))
  • Search for vulnerable code constructs across functions
  • Match variable usage patterns with semantic constraints
  • Locate specific function call patterns with regex filtering

Instructions

Using the VulHunt MCP tools, open the project (open_project) and run the following Lua query (query_project), adapting it as needed:

local decomp = project:decompile(<target_function>)
Installs
7
GitHub Stars
15
First Seen
Mar 8, 2026
code-pattern-matching — vulhunt-re/skills