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

Method GetSyscallPointByNR

user/config/config_module.go:459–466  ·  view source on GitHub ↗
(nr uint32)

Source from the content-addressed store, hash-verified

457}
458
459func (this *SyscallConfig) GetSyscallPointByNR(nr uint32) *SyscallPoint {
460 for _, point_arg := range this.PointArgs {
461 if point_arg.Nr == nr {
462 return point_arg
463 }
464 }
465 panic(fmt.Sprintf("unknown syscall nr:%d", nr))
466}
467
468func (this *SyscallConfig) GetSyscallPointByName(name string) *SyscallPoint {
469 for _, point_arg := range this.PointArgs {

Callers 2

InfoMethod · 0.95
ParseContextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected