This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# generate SystemCallFilter from list of syscalls | |
# | |
# run this script, type or paste a list of syscalls and this script will return the required @callgroups | |
## Sjon Hortensius, 2020 | |
set -ue | |
# dynamically initialize callgroups | |
declare -A callgroup | |
while IFS= read -r line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"net/http" | |
"os" | |
"strings" | |
"time" | |
) |