id: 1 unit: func main() file: cmd/seccomp-profiler/main.go start line: 81 end line: 164 size: 71 LOC McCabe index: 17 number of parameters: 0 id: 2 unit: func() file: filter.go start line: 375 end line: 457 size: 67 LOC McCabe index: 13 number of parameters: 1 id: 3 unit: func buildARM() file: arch/mk_syscalls_linux.go start line: 97 end line: 167 size: 58 LOC McCabe index: 10 number of parameters: 1 id: 4 unit: func() file: filter.go start line: 298 end line: 347 size: 45 LOC McCabe index: 10 number of parameters: 1 id: 5 unit: func() file: filter.go start line: 202 end line: 258 size: 43 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: func() file: cmd/seccomp-profiler/disasm/disasm.go start line: 70 end line: 121 size: 41 LOC McCabe index: 8 number of parameters: 1 id: 7 unit: func buildAARCH64() file: arch/mk_syscalls_linux.go start line: 169 end line: 213 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: func doObjdump() file: cmd/seccomp-profiler/main.go start line: 244 end line: 282 size: 33 LOC McCabe index: 9 number of parameters: 2 id: 9 unit: func buildX32() file: arch/mk_syscalls_linux.go start line: 252 end line: 291 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 10 unit: func buildX86_64() file: arch/mk_syscalls_linux.go start line: 293 end line: 332 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: func main() file: arch/mk_syscalls_linux.go start line: 400 end line: 442 size: 33 LOC McCabe index: 6 number of parameters: 0 id: 12 unit: func main() file: cmd/sandbox/main.go start line: 36 end line: 76 size: 32 LOC McCabe index: 5 number of parameters: 0 id: 13 unit: func getBinaryArch() file: cmd/seccomp-profiler/main.go start line: 166 end line: 201 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 14 unit: func parseX86_64() file: cmd/seccomp-profiler/disasm/disasm.go start line: 207 end line: 244 size: 32 LOC McCabe index: 9 number of parameters: 4 id: 15 unit: func build386() file: arch/mk_syscalls_linux.go start line: 215 end line: 250 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 16 unit: func LoadFilter() file: seccomp_linux.go start line: 50 end line: 82 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 17 unit: func openOutput() file: cmd/seccomp-profiler/main.go start line: 326 end line: 354 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: func readSyscalls() file: arch/mk_syscalls_linux.go start line: 334 end line: 363 size: 25 LOC McCabe index: 6 number of parameters: 3 id: 19 unit: func() file: assembler.go start line: 174 end line: 203 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: func writeProfileConfig() file: cmd/seccomp-profiler/main.go start line: 376 end line: 400 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 21 unit: func cachedDumpFile() file: cmd/seccomp-profiler/main.go start line: 218 end line: 242 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func addWhitelist() file: cmd/seccomp-profiler/main.go start line: 302 end line: 324 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 23 unit: func writeGoTemplate() file: cmd/seccomp-profiler/main.go start line: 429 end line: 451 size: 21 LOC McCabe index: 3 number of parameters: 3 id: 24 unit: func() file: assembler.go start line: 146 end line: 171 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 25 unit: func downloadFile() file: arch/mk_syscalls_linux.go start line: 365 end line: 388 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: func findSyscallNum() file: cmd/seccomp-profiler/disasm/disasm.go start line: 151 end line: 172 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 27 unit: func() file: filter.go start line: 349 end line: 373 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: func() file: filter.go start line: 46 end line: 62 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 29 unit: func filterBlacklist() file: cmd/seccomp-profiler/main.go start line: 284 end line: 300 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: func writeDebugYAML() file: cmd/seccomp-profiler/main.go start line: 356 end line: 374 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: func parsePolicy() file: cmd/sandbox/main.go start line: 78 end line: 94 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 32 unit: func isSyscallFunction() file: cmd/seccomp-profiler/disasm/disasm.go start line: 136 end line: 149 size: 14 LOC McCabe index: 12 number of parameters: 1 id: 33 unit: func() file: assembler.go start line: 220 end line: 234 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 34 unit: func hashBinary() file: cmd/seccomp-profiler/main.go start line: 203 end line: 216 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func ExtractSyscalls() file: cmd/seccomp-profiler/disasm/disasm.go start line: 47 end line: 59 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: func init() file: assembler.go start line: 37 end line: 49 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 37 unit: func sockFilter() file: seccomp_linux.go start line: 84 end line: 95 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func prctl() file: seccomp_linux.go start line: 98 end line: 109 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 39 unit: func GetInfo() file: arch/info.go start line: 164 end line: 176 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: func() file: filter.go start line: 83 end line: 92 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: func() file: filter.go start line: 174 end line: 184 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: func() file: filter.go start line: 261 end line: 271 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: func findInsertAfter() file: assembler.go start line: 247 end line: 256 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 44 unit: func() file: filter.go start line: 137 end line: 145 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func() file: filter.go start line: 188 end line: 198 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: func getSyscall() file: filter.go start line: 285 end line: 295 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: func init() file: cmd/seccomp-profiler/main.go start line: 71 end line: 79 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: func() file: assembler.go start line: 206 end line: 216 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: func() file: cmd/seccomp-profiler/disasm/disasm.go start line: 123 end line: 130 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: func() file: filter.go start line: 95 end line: 101 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func() file: cmd/seccomp-profiler/main.go start line: 52 end line: 58 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: func() file: assembler.go start line: 121 end line: 127 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func() file: assembler.go start line: 130 end line: 136 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: func seccomp() file: seccomp_linux.go start line: 112 end line: 118 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 55 unit: func invert() file: arch/info.go start line: 121 end line: 127 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: func() file: arch/zarches.go start line: 95 end line: 102 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: func() file: arch/defs_arches_linux.go start line: 106 end line: 113 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: func lastInstruction() file: cmd/seccomp-profiler/disasm/disasm.go start line: 174 end line: 179 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: func NewProgram() file: assembler.go start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: func() file: assembler.go start line: 113 end line: 118 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func Supported() file: seccomp_linux.go start line: 33 end line: 41 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: func() file: assembler.go start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func() file: assembler.go start line: 99 end line: 104 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: func() file: assembler.go start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: func() file: assembler.go start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func() file: assembler.go start line: 238 end line: 241 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func init() file: arch/mk_syscalls_linux.go start line: 395 end line: 398 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: func() file: filter.go start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: func() file: filter.go start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func Supported() file: seccomp_unsupported.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: func SetNoNewPrivs() file: seccomp_unsupported.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: func LoadFilter() file: seccomp_unsupported.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: func() file: cmd/seccomp-profiler/main.go start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: cmd/seccomp-profiler/disasm/disasm.go start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func() file: assembler.go start line: 259 end line: 261 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func SetNoNewPrivs() file: seccomp_linux.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0