Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Disasm (0.13 sec)

  1. src/cmd/pprof/pprof.go

    }
    
    func (t *objTool) cachedDisasm(file string) (*objfile.Disasm, error) {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if t.disasmCache == nil {
    		t.disasmCache = make(map[string]*objfile.Disasm)
    	}
    	d := t.disasmCache[file]
    	if d != nil {
    		return d, nil
    	}
    	f, err := objfile.Open(file)
    	if err != nil {
    		return nil, err
    	}
    	d, err = f.Disasm()
    	f.Close()
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html

                  {{end -}}
    
                  {{if not .Synthetic -}}
                    {{/* disassembled instruction */ -}}
                    {{printf " %8s %10s %10s %8x: %s " "" .Flat .Cumulative .Address .Disasm -}}
                    <span class=unimportant>{{.FileLine}}</span>{{"\n" -}}
                  {{end -}}
                {{end -}}
                </span>{{"" -}}
              {{end -}}
              {{/* end of line */ -}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/driver/driver.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
    - 9.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/asm/main.go

    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top