Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findSymbols (0.15 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go

    	objdumpOutputFunction     = regexp.MustCompile(`^;?\s?(\S.*)\(\):`)
    	objdumpOutputFunctionLLVM = regexp.MustCompile(`^([[:xdigit:]]+)?\s?(.*):`)
    )
    
    func findSymbols(syms []byte, file string, r *regexp.Regexp, address uint64) ([]*plugin.Sym, error) {
    	// Collect all symbols from the nm output, grouping names mapped to
    	// the same address into a single symbol.
    
    	// The symbols to return.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	// Get from nm a list of symbols sorted by address.
    	cmd := exec.Command(f.b.nm, "-n", f.name)
    	out, err := cmd.Output()
    	if err != nil {
    		return nil, fmt.Errorf("%v: %v", cmd.Args, err)
    	}
    
    	return findSymbols(out, f.name, r, addr)
    }
    
    // fileNM implements the binutils.ObjFile interface, using 'nm' to map
    // addresses to symbols (without file/line number information). It is
    // faster than fileAddr2Line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/OtoolBinaryInfo.groovy

                //   10.1 and earlier: `    AT_name( "<...>" )`
                //   10.2 (and maybe later): `    DW_AT_NAME    ("<...>")`
                def findSymbol = (line =~ /.*(DW_)?AT_name\s*\(\s*"(.*)"\s*\)/)
                if (findSymbol.matches()) {
                    def name = new File(findSymbol[0][2] as String).name.trim()
                    symbols << new Symbol(name, 'D' as char, true)
                }
            }
            return symbols
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top