- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for disassemble (0.26 sec)
-
src/cmd/pprof/pprof_test.go
t.Skipf("skipping on %s, issue 15255", runtime.GOARCH) } // pprof can only disassemble PIE on some platforms. // Skip the ones it can't handle yet. if runtime.GOOS == "android" && runtime.GOARCH == "arm" { t.Skipf("skipping on %s/%s, issue 46639", runtime.GOOS, runtime.GOARCH) } } // TestDisasm verifies that cmd/pprof can successfully disassemble functions. // // This is a regression test for issue 46636.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/objdump/main.go
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 dis.Print(os.Stdout, symRE, 0, ^uint64(0), *printCode, *gnuAsm) case 3: // disassembly of PC range start, err := strconv.ParseUint(strings.TrimPrefix(flag.Arg(1), "0x"), 16, 64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go
return []string{demangled} } } } return nil } // disassemble parses the output of the objdump command and returns // the assembly instructions in a slice. func disassemble(asm []byte) ([]plugin.Inst, error) { buf := bytes.NewBuffer(asm) function, file, line := "", "", 0 var assembly []plugin.Inst for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 5.2K bytes - Viewed (0) -
src/runtime/unsafepoint_test.go
} // Get a reference we can use to ask the runtime about // which of its instructions are unsafe preemption points. f := runtime.FuncForPC(reflect.ValueOf(setGlobalPointer).Pointer()) // Disassemble the test function. // Note that normally "go test runtime" would strip symbols // and prevent this step from working. So there's a hack in // cmd/go/internal/test that exempts runtime tests from // symbol stripping.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 20:24:56 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/header.html
<a title="{{.Help.peek}}" href="./peek" id="peek">Peek</a> <a title="{{.Help.list}}" href="./source" id="list">Source</a> <a title="{{.Help.disasm}}" href="./disasm" id="disasm">Disassemble</a> </div> </div> {{$sampleLen := len .SampleTypes}} {{if gt $sampleLen 1}} <div id="sample" class="menu-item"> <div class="menu-name"> Sample <i class="downArrow"></i>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/objdump/objdump_test.go
for _, s := range need { if !strings.Contains(text, s) { t.Errorf("disassembly missing '%s'", s) ok = false } } if goarch == "386" { if strings.Contains(text, "(IP)") { t.Errorf("disassembly contains PC-Relative addressing on 386") ok = false } } if !ok || testing.Verbose() { t.Logf("full disassembly:\n%s", text) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 8.9K bytes - Viewed (0) -
test/fixedbugs/issue11987.go
// run // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 11987. The ppc64 SRADCC instruction was misassembled in a way // lost bit 5 of the immediate so v>>32 was assembled as v>>0. SRADCC // is only ever inserted by peep so it's hard to be sure when it will // be used. This formulation worked when the bug was fixed. package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 621 bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html
<span class=unimportant>{{.FileBase}}:{{.Line}}</span>{{"\n" -}} {{end -}} {{if not .Synthetic -}} {{/* disassembled instruction */ -}} {{printf " %8s %10s %10s %8x: %s " "" .Flat .Cumulative .Address .Disasm -}} <span class=unimportant>{{.FileLine}}</span>{{"\n" -}} {{end -}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/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. func GoSyntax(inst Inst, pc uint64, symname SymLookup) string { if symname == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
// is a linux kernel, relocationSymbol is the name of the symbol // 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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 7.9K bytes - Viewed (0)