Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for disassemble (0.16 sec)

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

    	b := bu.get()
    	if !b.objdumpFound {
    		return nil, errors.New("cannot disasm: no objdump tool available")
    	}
    	args := []string{"--disassemble", "--demangle", "--no-show-raw-insn",
    		"--line-numbers", fmt.Sprintf("--start-address=%#x", start),
    		fmt.Sprintf("--stop-address=%#x", end)}
    
    	if intelSyntax {
    		if b.isLLVMObjdump {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/amd64/versions_test.go

    // faulting instructions.
    func clobber(t *testing.T, src string, dst *os.File, opcodes map[string]bool) {
    	// 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
    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/report/source.go

    	}
    }
    
    func (sp *sourcePrinter) expandAddresses(rpt *Report, addrs map[uint64]addrInfo, flat map[uint64]int64) {
    	// We found interesting addresses (ones with non-zero samples) above.
    	// Get covering address ranges and disassemble the ranges.
    	ranges, unprocessed := sp.splitIntoRanges(rpt.prof, addrs, flat)
    	sp.handleUnprocessed(addrs, unprocessed)
    
    	// Trim ranges if there are too many.
    	const maxRanges = 25
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/disasm.go

    		return nil, nil
    	}
    
    	return cf.Lines[line-1], nil
    }
    
    // Print prints a disassembly of the file to w.
    // If filter is non-nil, the disassembly only includes functions with names matching filter.
    // If printCode is true, the disassembly includs corresponding source lines.
    // The disassembly only includes functions that overlap the range [start, end).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	// sure the default heuristics of excluding insignificant nodes and edges
    	// from the call graph do not apply. One example where it is important is
    	// annotated source or disassembly listing. Those reports run on a specific
    	// function (or functions), but the trimming is applied before the function
    	// data is selected. So, with trimming enabled, the report could end up
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go

    // The pc is the program counter of the first instruction, used for expanding
    // PC-relative addresses into absolute ones.
    // The symname function queries the symbol table for the program
    // being disassembled. It returns the name and base address of the symbol
    // containing the target, if any; otherwise it returns "", 0.
    func GoSyntax(inst Inst, pc uint64, symname func(uint64) (string, uint64)) string {
    	if symname == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    	// specific instruction to which they are attached? It depends.
    	// If they really have no meaning, they are ignored. However, a future
    	// processor may assign a different meaning. As a disassembler, we
    	// don't really know whether we're seeing a meaningless prefix or one
    	// whose meaning we simply haven't been told yet.
    	//
    	// Combining the two questions, what happens when conflicting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	SampleType        string
    	SampleUnit        string // Unit for the sample data from the profile.
    
    	OutputUnit string // Units for data formatting in report.
    
    	Symbol     *regexp.Regexp // Symbols to include on disassembly report.
    	SourcePath string         // Search path for source files.
    	TrimPath   string         // Paths to trim from source file paths.
    
    	IntelSyntax bool // Whether or not to print assembly in Intel syntax.
    }
    
    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/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go

    // This form typically matches the syntax defined in the Power ISA Reference Manual.
    func GNUSyntax(inst Inst, pc uint64) string {
    	var buf bytes.Buffer
    	// When there are all 0s, identify them as the disassembler
    	// in binutils would.
    	if inst.Enc == 0 {
    		return ".long 0x0"
    	} else if inst.Op == 0 {
    		return "error: unknown instruction"
    	}
    
    	PC := pc
    	// Special handling for some ops
    	startArg := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    // The pc is the program counter of the instruction, used for expanding
    // PC-relative addresses into absolute ones.
    // The symname function queries the symbol table for the program
    // being disassembled. Given a target address it returns the name and base
    // address of the symbol containing the target, if any; otherwise it returns "", 0.
    // The reader r should read from the text segment using text addresses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top