Re:Should random() be banned?
by sp332 on Thursday February 11, 2021 @12:43PM
(#26104657)
The "ban" can be evaded by telling semgrep to ignore it for one line. https://semgrep.dev/docs/ignoring-findings/ This doesn't really scale though - if someone bans it with a different tool, you'd have to tell each tool to ignore this line.
[ Parent
| on HN ]
There are no comments on this comment yet.