Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
LGPL-2.1 License
Bot releases are visible (Hide)
Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
This project adheres to Semantic Versioning.
--vim
and --emacs
at the same time)pattern: $X
optimization ("empty And; no positive terms in And")Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
...
in pattern-inside
s to simply match anything leftPublished by github-actions[bot] about 3 years ago
List.map
will alsoList
as L
via module L = List
.pattern-regex
with completely empty files (#3705)--sarif
exit code with suppressed findings (#3680)pattern: $X
will not be evaluated on its own, but will look at the context and find $X
within the metavariables bound, which should be significantly fasterPublished by github-actions[bot] about 3 years ago
if $X = $Y
)$X_
, $F_OO
).$FOO
will match everything else (lowercase identifiers,Published by github-actions[bot] about 3 years ago
1
and 0x1
as equal (#3579)foo.x
is now detected as tainted if foo
is a source of taintPublished by github-actions[bot] over 3 years ago
pattern-not-regex
now works (#3503)pattern: $X
in the presence of interpolated strings now works (#3560)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
- source(...)
must now be written as - pattern: source(...)
.implicit_ellipsis
that allows disabling the implicit...
that are added to record patterns, plus allow matching "spread fields"...x
) at any position (#3120)**
) syntax in path include/exclude (#3173)try { ... }
) for Java (#3417)with
statements (#3402)pattern: $X
optimization (#3476)pattern
orpattern-regex
Published by github-actions[bot] over 3 years ago
options:
field in a YAML rule to enable/disable certain featuresfoo(:$ATOM)
)foo(/.../)
)__makeref
, __reftype
, __refvalue
(#3364)pattern: $X
will not be evaluated on its own, but will look at the context and find $X
within the metavariables bound, which should be significantly fasterPublished by github-actions[bot] over 3 years ago
foo("$VAR")
)foo(:$ATOM)
)Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
--debugging-json
(#3265)Published by github-actions[bot] over 3 years ago
--optimizations all
--timeout-threshold
option in --optimizations all
modePublished by github-actions[bot] over 3 years ago
--strict
will now return results if there are nosem
mismatches. Semgrep will report a nonzero exit code if --strict
is set and there are nosem
mismathces. #3099
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
$ARG = [$V];
...
<... $O[$ARG] ...>; // this works now
y
in x[y]
--debug
.--max-target-bytes 0
restores the old behavior.--time
Published by github-actions[bot] over 3 years ago
--debugging-json
to avoid stderr output of --debug