(command string)
| 384 | } |
| 385 | |
| 386 | func benchmarkShouldUseSandbox(_ string) bool { |
| 387 | return true |
| 388 | } |
| 389 | |
| 390 | func labelSet(labels ...string) map[string]struct{} { |
| 391 | set := make(map[string]struct{}, len(labels)) |
| 392 | for _, label := range labels { |
| 393 | set[label] = struct{}{} |
| 394 | } |
| 395 | return set |
| 396 | } |
| 397 | |
| 398 | func hasRiskLabel(evalCase securityEvalCase, label string) bool { |
| 399 | _, ok := evalCase.riskLabels[label] |
no outgoing calls
no test coverage detected