(syms []*plugin.Sym, name string)
| 320 | } |
| 321 | |
| 322 | func findSymbol(syms []*plugin.Sym, name string) *plugin.Sym { |
| 323 | for _, s := range syms { |
| 324 | if slices.Contains(s.Name, name) { |
| 325 | return s |
| 326 | } |
| 327 | } |
| 328 | return nil |
| 329 | } |
| 330 | |
| 331 | func TestObjFile(t *testing.T) { |
| 332 | // If this test fails, check the address for main function in testdata/exe_linux_64 |
no outgoing calls
no test coverage detected
searching dependent graphs…