Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Disasm (0.17 sec)

  1. src/cmd/internal/objfile/disasm.go

    	textEnd   uint64           // end PC of text
    	goarch    string           // GOARCH string
    	disasm    disasmFunc       // disassembler function for goarch
    	byteOrder binary.ByteOrder // byte order for goarch
    }
    
    // Disasm returns a disassembler for the file f.
    func (e *Entry) Disasm() (*Disasm, error) {
    	syms, err := e.Symbols()
    	if err != nil {
    		return nil, err
    	}
    
    	pcln, err := e.PCLineTable()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/amd64/versions_test.go

    	// Run objdump to get disassembly.
    	var re *regexp.Regexp
    	var disasm io.Reader
    	if false {
    		// TODO: go tool objdump doesn't disassemble the bmi1 instructions
    		// in question correctly. See issue 48584.
    		cmd := testenv.Command(t, "go", "tool", "objdump", src)
    		var err error
    		disasm, err = cmd.StdoutPipe()
    		if err != nil {
    			t.Fatal(err)
    		}
    		if err := cmd.Start(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	}
    
    	ui.render(w, req, "top", rpt, errList, legend, webArgs{
    		Top:   top,
    		Nodes: nodes,
    	})
    }
    
    // disasm generates a web page containing disassembly.
    func (ui *webInterface) disasm(w http.ResponseWriter, req *http.Request) {
    	args := []string{"disasm", req.URL.Query().Get("f")}
    	rpt, errList := ui.makeReport(w, req, args, nil)
    	if rpt == nil {
    		return // error already reported
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/math/stubs_s390x.s

    	MOVD   $·cosvectorfacility+0x00(SB), R1
    	MOVD   $·cos(SB), R2
    	MOVD   R2, 0(R1)
    	BR     ·cos(SB)
    
    vectorimpl:
    	MOVD $·cosvectorfacility+0x00(SB), R1
    	MOVD $·cosAsm(SB), R2
    	MOVD R2, 0(R1)
    	BR   ·cosAsm(SB)
    
    GLOBL ·cosvectorfacility+0x00(SB), NOPTR, $8
    DATA ·cosvectorfacility+0x00(SB)/8, $·cosTrampolineSetup(SB)
    
    TEXT ·archCosh(SB), NOSPLIT, $0
    	MOVD ·coshvectorfacility+0x00(SB), R1
    	BR   (R1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 12.4K bytes
    - Viewed (0)
Back to top