Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 86 for Disasm (0.11 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		insts, err := sp.objectTool.Disasm(r.mapping.File, objBegin, objEnd, rpt.options.IntelSyntax)
    		if err != nil {
    			// TODO(sanjay): Report that the covered addresses are missing.
    			continue
    		}
    
    		var lastFrames []plugin.Frame
    		var lastAddr, maxAddr uint64
    		for i, inst := range insts {
    			addr := inst.Addr + base
    
    			// Guard against duplicate output from Disasm.
    			if addr <= maxAddr {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. src/cmd/objdump/main.go

    		if err != nil {
    			log.Fatalf("invalid -s regexp: %v", err)
    		}
    		symRE = re
    	}
    
    	f, err := objfile.Open(flag.Arg(0))
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer f.Close()
    
    	dis, err := f.Disasm()
    	if err != nil {
    		log.Fatalf("disassemble %s: %v", flag.Arg(0), err)
    	}
    
    	switch flag.NArg() {
    	default:
    		usage()
    	case 1:
    		// disassembly of entire object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// corresponding to the start address.
    	Open(file string, start, limit, offset uint64, relocationSymbol string) (ObjFile, error)
    
    	// Disasm disassembles the named object file, starting at
    	// the start address and stopping at (before) the end address.
    	Disasm(file string, start, end uint64, intelSyntax bool) ([]Inst, error)
    }
    
    // An Inst is a single instruction in an assembly listing.
    type Inst struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    var pprofCommands = commands{
    	// Commands that require no post-processing.
    	"comments": {report.Comments, nil, nil, false, "Output all profile comments", ""},
    	"disasm":   {report.Dis, nil, nil, true, "Output assembly listings annotated with samples", listHelp("disasm", true)},
    	"dot":      {report.Dot, nil, nil, false, "Outputs a graph in DOT format", reportHelp("dot", false, true)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    			return c, true
    		}
    	}
    	return cmd, false
    }
    
    // Disasm returns the assembly instructions for the specified address range
    // of a binary.
    func (bu *Binutils) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) {
    	b := bu.get()
    	if !b.objdumpFound {
    		return nil, errors.New("cannot disasm: no objdump tool available")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	// showing no data if the specified function is "uninteresting" as far as the
    	// trimming is concerned.
    	trim := cfg.Trim
    
    	switch cmd {
    	case "disasm":
    		trim = false
    		cfg.Granularity = "addresses"
    		// Force the 'noinlines' mode so that source locations for a given address
    		// collapse and there is only one for the given address. Without this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        toptable.addEventListener('touchstart', handleTopClick);
      }
    
      const ids = ['topbtn', 'graphbtn',
                   'flamegraph',
                   'peek', 'list',
                   'disasm', 'focus', 'ignore', 'hide', 'show', 'show-from'];
      ids.forEach(makeSearchLinkDynamic);
    
      const sampleIDs = [{{range .SampleTypes}}'{{.}}', {{end}}];
      sampleIDs.forEach(setSampleIndexLink);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	for _, s := range syms {
    		sns := symNodes[s]
    
    		// Gather samples for this symbol.
    		flatSum, cumSum := sns.Sum()
    
    		// Get the function assembly.
    		insts, err := obj.Disasm(s.sym.File, s.sym.Start, s.sym.End, o.IntelSyntax)
    		if err != nil {
    			return err
    		}
    
    		ns := annotateAssembly(insts, sns, s.file)
    
    		fmt.Fprintf(w, "ROUTINE ======================== %s\n", s.sym.Name[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/internal/goarch/zgoarch_mips64.go

    const IsPpc64 = 0
    const IsPpc64le = 0
    const IsRiscv = 0
    const IsRiscv64 = 0
    const IsS390 = 0
    const IsS390x = 0
    const IsSparc = 0
    const IsSparc64 = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 580 bytes
    - Viewed (0)
  10. src/internal/goarch/zgoarch_s390.go

    const IsPpc64 = 0
    const IsPpc64le = 0
    const IsRiscv = 0
    const IsRiscv64 = 0
    const IsS390 = 1
    const IsS390x = 0
    const IsSparc = 0
    const IsSparc64 = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 576 bytes
    - Viewed (0)
Back to top