()
| 730 | } |
| 731 | |
| 732 | func (this *SyscallConfig) Info() string { |
| 733 | var whitelist []string |
| 734 | for _, v := range this.SysWhitelist { |
| 735 | point := this.GetSyscallPointByNR(v) |
| 736 | whitelist = append(whitelist, point.Name) |
| 737 | } |
| 738 | var blacklist []string |
| 739 | for _, v := range this.SysBlacklist { |
| 740 | point := this.GetSyscallPointByNR(v) |
| 741 | blacklist = append(blacklist, point.Name) |
| 742 | } |
| 743 | return fmt.Sprintf("whitelist:[%s];blacklist:[%s]", strings.Join(whitelist, ","), strings.Join(blacklist, ",")) |
| 744 | } |
| 745 | |
| 746 | type ModuleConfig struct { |
| 747 | BaseConfig |
nothing calls this directly
no test coverage detected