diff options
| author | Stefano Duo <stefanoduo@google.com> | 2020-08-04 14:37:34 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-08-05 08:59:53 +0200 |
| commit | 09121a7396578abef95aec720b7cee24debf9b0d (patch) | |
| tree | 7a547e759c21d00139648c0cb82e6d3b347c9020 /.github | |
| parent | 06f8f7fbcdc343cd2db121b84bfb0ebbc9d5faba (diff) | |
pkg/host/syscalls_linux.go: refactor isSupportedSyzkall()
Use a map: (string => func) instead of a switch for pseudo-syscalls
names. This reduces isSupportedSyzkall() cyclomatic complexity and
makes the linter happy.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
