Third-party Python package module — whatthepatch. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.apply.apply_diff()Neutralapply.apply_diff(diff, text, reverse, use_patch)
apply.apply_diff function.
.patch.parse_context_diff()Neutralpatch.parse_context_diff(text)
patch.parse_context_diff function.
.patch.parse_context_header()Neutralpatch.parse_context_header(text)
patch.parse_context_header function.
.patch.parse_cvs_header()Neutralpatch.parse_cvs_header(text)
patch.parse_cvs_header function.
.patch.parse_default_diff()Neutralpatch.parse_default_diff(text)
patch.parse_default_diff function.
.patch.parse_diff_header()Neutralpatch.parse_diff_header(text)
patch.parse_diff_header function.
| FQN | Field | |
|---|---|---|
| whatthepatch | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import whatthepatch