aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorStefano Duo <stefanoduo@google.com>2020-08-04 14:37:34 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-08-05 08:59:53 +0200
commit09121a7396578abef95aec720b7cee24debf9b0d (patch)
tree7a547e759c21d00139648c0cb82e6d3b347c9020 /.github
parent06f8f7fbcdc343cd2db121b84bfb0ebbc9d5faba (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