search_public_code
Search public repositories for an exact code string; return WHERE it appears.
Use it to hunt vendored / copy-pasted copies of known-vulnerable code: search a
distinctive line or symbol from the vulnerable function, then FETCH AND READ the hits
to judge which copies are still unpatched, reachable, or just fossils/forks. Returns
RAW search results only -- it makes no vulnerability judgment; that reasoning is yours.
Args:
code: an exact code string, e.g. "VP8LBuildHuffmanTable" or a distinctive line.
lang: language filter for the code search (default "c").
limit: max hits to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| lang | No | c | |
| limit | No |