MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / Info

Method Info

user/config/config_module.go:732–744  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

730}
731
732func (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
746type ModuleConfig struct {
747 BaseConfig

Callers

nothing calls this directly

Calls 1

GetSyscallPointByNRMethod · 0.95

Tested by

no test coverage detected