(nr uint32)
| 457 | } |
| 458 | |
| 459 | func (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 | |
| 468 | func (this *SyscallConfig) GetSyscallPointByName(name string) *SyscallPoint { |
| 469 | for _, point_arg := range this.PointArgs { |
no outgoing calls
no test coverage detected