Skip to content

Commit

Permalink
interesting-api-calls.yaml: fix CalledOnValidThread
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Oct 16, 2023
1 parent 0e5bd44 commit 80d12b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/semgrep_rules/client/interesting-api-calls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ rules:
metavariable: $FUNC
regex: \w*(set\w*(u|g)id|(init|set)groups|str\w?cpy|stpn?cpy|str\w?cat|wcs\w?cpy|wcpn?cpy|wcs\w?cat|strtok|wcstok|s\w?printf\w*\(.*|sn\w?printf\w*\(.*|scanf|get(s|c|char|pw|pass|wd|cwd|env|opt|opt_long)|memc?cpy|mem(move|set)|bcopy|alloca|exec(l|v)?(p|e)?e?|system|open(at)?(64)?|pipe|connect|read|recv(from)?|fork|clone|mk\w?temp(64)?|te?mpnam|tmpfile|mkdir|creat|link(at)?|rename(at)?|access(at)?|stat(at)?|ch(own|mod)(at)?|rand|assert)$
- pattern-not-regex: RunOnUIThread
- pattern-not-regex: CalledOnValidThread

0 comments on commit 80d12b2

Please sign in to comment.