=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== delve-1.5.0/Documentation/cli/README.md-2- delve-1.5.0/Documentation/cli/README.md:3:If `$XDG_CONFIG_HOME` is set, then configuration and command history files are located in `$XDG_CONFIG_HOME/dlv`. Otherwise, they are located in `$HOME/.config/dlv` on Linux and `$HOME/.dlv` on other systems. delve-1.5.0/Documentation/cli/README.md-4- ############################################## delve-1.5.0/Documentation/installation/osx/install.md-30-2. On macOS 10.14 manually install the legacy include headers by running `/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg` delve-1.5.0/Documentation/installation/osx/install.md:31:3. Clone the repo into `$GOPATH/src/github.com/go-delve/delve` delve-1.5.0/Documentation/installation/osx/install.md-32-4. Run `make install` in that directory (on some versions of macOS this requires being root, the first time you run it, to install a new certificate) ############################################## delve-1.5.0/cmd/dlv/cmds/commands.go-786- if continueOnStart { delve-1.5.0/cmd/dlv/cmds/commands.go:787: client := rpc2.NewClient(listener.Addr().String()) delve-1.5.0/cmd/dlv/cmds/commands.go-788- client.Disconnect(true) // true = continue after disconnect ############################################## delve-1.5.0/cmd/dlv/cmds/commands.go-798- delve-1.5.0/cmd/dlv/cmds/commands.go:799: return connect(listener.Addr().String(), clientConn, conf, kind) delve-1.5.0/cmd/dlv/cmds/commands.go-800-} ############################################## delve-1.5.0/pkg/dwarf/loclist/loclist.go-31-func (rdr *Reader) Next(e *Entry) bool { delve-1.5.0/pkg/dwarf/loclist/loclist.go:32: e.LowPC = rdr.oneAddr() delve-1.5.0/pkg/dwarf/loclist/loclist.go:33: e.HighPC = rdr.oneAddr() delve-1.5.0/pkg/dwarf/loclist/loclist.go-34- ############################################## delve-1.5.0/pkg/dwarf/loclist/loclist.go-54- delve-1.5.0/pkg/dwarf/loclist/loclist.go:55:func (rdr *Reader) oneAddr() uint64 { delve-1.5.0/pkg/dwarf/loclist/loclist.go-56- switch rdr.ptrSz { ############################################## delve-1.5.0/pkg/dwarf/op/op.go-145- delve-1.5.0/pkg/dwarf/op/op.go:146:func addr(opcode Opcode, ctxt *context) error { delve-1.5.0/pkg/dwarf/op/op.go-147- buf := ctxt.buf.Next(ctxt.ptrSize) ############################################## delve-1.5.0/pkg/proc/bininfo.go-1594- sort.Sort(functionsDebugInfoByEntry(bi.Functions)) delve-1.5.0/pkg/proc/bininfo.go:1595: sort.Sort(packageVarsByAddr(bi.packageVars)) delve-1.5.0/pkg/proc/bininfo.go-1596- ############################################## delve-1.5.0/pkg/proc/eval.go-232- if trustArgOrder && ((val.Unreadable != nil && val.Addr == 0) || val.Flags&VariableFakeAddress != 0) && entry.Tag == dwarf.TagFormalParameter { delve-1.5.0/pkg/proc/eval.go:233: addr := afterLastArgAddr(vars) delve-1.5.0/pkg/proc/eval.go-234- if addr == 0 { ############################################## delve-1.5.0/pkg/proc/eval.go-236- } delve-1.5.0/pkg/proc/eval.go:237: addr = uintptr(alignAddr(int64(addr), val.DwarfType.Align())) delve-1.5.0/pkg/proc/eval.go-238- val = newVariable(val.Name, addr, val.DwarfType, scope.BinInfo, scope.Mem) ############################################## delve-1.5.0/pkg/proc/eval.go-290- delve-1.5.0/pkg/proc/eval.go:291:func afterLastArgAddr(vars []*Variable) uintptr { delve-1.5.0/pkg/proc/eval.go-292- for i := len(vars) - 1; i >= 0; i-- { ############################################## delve-1.5.0/pkg/proc/eval.go-2064-func fakeArrayType(n uint64, fieldType godwarf.Type) godwarf.Type { delve-1.5.0/pkg/proc/eval.go:2065: stride := alignAddr(fieldType.Common().ByteSize, fieldType.Align()) delve-1.5.0/pkg/proc/eval.go-2066- return &godwarf.ArrayType{ ############################################## delve-1.5.0/pkg/proc/fbsdutil/regs.go-152-// otherwise. delve-1.5.0/pkg/proc/fbsdutil/regs.go:153:func (r *AMD64Registers) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/fbsdutil/regs.go-154- return 0, false ############################################## delve-1.5.0/pkg/proc/fbsdutil/regs.go-156- delve-1.5.0/pkg/proc/fbsdutil/regs.go:157:// Get returns the value of the n-th register (in x86asm order). delve-1.5.0/pkg/proc/fbsdutil/regs.go-158-func (r *AMD64Registers) Get(n int) (uint64, error) { ############################################## delve-1.5.0/pkg/proc/fncall.go-615- off = argFrameSize delve-1.5.0/pkg/proc/fncall.go:616: off = alignAddr(off, typ.Align()) delve-1.5.0/pkg/proc/fncall.go-617- } ############################################## delve-1.5.0/pkg/proc/fncall.go-635-// alignAddr rounds up addr to a multiple of align. Align must be a power of 2. delve-1.5.0/pkg/proc/fncall.go:636:func alignAddr(addr, align int64) int64 { delve-1.5.0/pkg/proc/fncall.go-637- return (addr + int64(align-1)) &^ int64(align-1) ############################################## delve-1.5.0/pkg/proc/fncall.go-673- case reflect.Func: delve-1.5.0/pkg/proc/fncall.go:674: if err := escapeCheckPointer(uintptr(v.funcvalAddr()), name, stack); err != nil { delve-1.5.0/pkg/proc/fncall.go-675- return err ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-257- delve-1.5.0/pkg/proc/gdbserial/gdbserver.go:258: if verbuf, err := p.conn.exec([]byte("$qGDBServerVersion"), "init"); err == nil { delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-259- for _, v := range strings.Split(string(verbuf), ";") { ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-301- } delve-1.5.0/pkg/proc/gdbserial/gdbserver.go:302: port := listener.Addr().(*net.TCPAddr).Port delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-303- listener.Close() ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-382- } delve-1.5.0/pkg/proc/gdbserial/gdbserver.go:383: args = append(args, "-F", "-R", fmt.Sprintf("127.0.0.1:%d", listener.Addr().(*net.TCPAddr).Port), "--") delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-384- args = append(args, cmd...) ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-457- } delve-1.5.0/pkg/proc/gdbserial/gdbserver.go:458: process = commandLogger(debugserverExecutable, "-R", fmt.Sprintf("127.0.0.1:%d", listener.Addr().(*net.TCPAddr).Port), "--attach="+strconv.Itoa(pid)) delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-459- } else { ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-1667- delve-1.5.0/pkg/proc/gdbserial/gdbserver.go:1668:func (regs *gdbRegisters) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/gdbserial/gdbserver.go-1669- return regs.gaddr, regs.hasgaddr ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-116- // Try to enable thread suffixes for the command 'g' and 'p' delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:117: if _, err := conn.exec([]byte("$QThreadSuffixSupported"), "init"); err != nil { delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-118- if isProtocolErrorUnsupported(err) { ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-136- if conn.multiprocess { delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:137: conn.exec([]byte("$Hgp0.0"), "init") delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-138- } else { delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:139: conn.exec([]byte("$Hgp0"), "init") delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-140- } ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-165- // Otherwise we'll have problems handling breakpoints in multithreaded programs. delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:166: if _, err := conn.exec([]byte("$QListThreadsInStopReply"), "init"); err != nil { delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-167- gdberr, ok := err.(*GdbProtocolError) ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-208-func (conn *gdbConn) disableAck() error { delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:209: _, err := conn.exec([]byte("$QStartNoAckMode"), "init/disableAck") delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-210- if err == nil { ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-432-func (conn *gdbConn) kill() error { delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:433: resp, err := conn.exec([]byte{'$', 'k'}, "kill") delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-434- if err == io.EOF { ############################################## delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-453- } delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go:454: _, err := conn.exec([]byte{'$', 'D'}, "detach") delve-1.5.0/pkg/proc/gdbserial/gdbserver_conn.go-455- conn.conn.Close() ############################################## delve-1.5.0/pkg/proc/linutil/regs_amd64_arch.go-128-// otherwise. delve-1.5.0/pkg/proc/linutil/regs_amd64_arch.go:129:func (r *AMD64Registers) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/linutil/regs_amd64_arch.go-130- return 0, false ############################################## delve-1.5.0/pkg/proc/linutil/regs_amd64_arch.go-132- delve-1.5.0/pkg/proc/linutil/regs_amd64_arch.go:133:// Get returns the value of the n-th register (in x86asm order). delve-1.5.0/pkg/proc/linutil/regs_amd64_arch.go-134-func (r *AMD64Registers) Get(n int) (uint64, error) { ############################################## delve-1.5.0/pkg/proc/linutil/regs_arm64_arch.go-109-// otherwise. delve-1.5.0/pkg/proc/linutil/regs_arm64_arch.go:110:func (r *ARM64Registers) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/linutil/regs_arm64_arch.go-111- return r.Regs.Regs[28], true ############################################## delve-1.5.0/pkg/proc/linutil/regs_arm64_arch.go-113- delve-1.5.0/pkg/proc/linutil/regs_arm64_arch.go:114:// Get returns the value of the n-th register (in arm64asm order). delve-1.5.0/pkg/proc/linutil/regs_arm64_arch.go-115-func (r *ARM64Registers) Get(n int) (uint64, error) { ############################################## delve-1.5.0/pkg/proc/linutil/regs_i386_arch.go-112-// otherwise. delve-1.5.0/pkg/proc/linutil/regs_i386_arch.go:113:func (r *I386Registers) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/linutil/regs_i386_arch.go-114- return 0, false ############################################## delve-1.5.0/pkg/proc/linutil/regs_i386_arch.go-116- delve-1.5.0/pkg/proc/linutil/regs_i386_arch.go:117:// Get returns the value of the n-th register (in x86asm order). delve-1.5.0/pkg/proc/linutil/regs_i386_arch.go-118-func (r *I386Registers) Get(n int) (uint64, error) { ############################################## delve-1.5.0/pkg/proc/native/registers_darwin_amd64.go-108- delve-1.5.0/pkg/proc/native/registers_darwin_amd64.go:109:func (r *Regs) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/native/registers_darwin_amd64.go-110- return 0, false ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-31-func _NtQueryInformationThread(threadHandle syscall.Handle, infoclass int32, info uintptr, infolen uint32, retlen *uint32) (status _NTSTATUS) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:32: r0, _, _ := syscall.Syscall6(procNtQueryInformationThread.Addr(), 5, uintptr(threadHandle), uintptr(infoclass), uintptr(info), uintptr(infolen), uintptr(unsafe.Pointer(retlen)), 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-33- status = _NTSTATUS(r0) ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-37-func _GetThreadContext(thread syscall.Handle, context *_CONTEXT) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:38: r1, _, e1 := syscall.Syscall(procGetThreadContext.Addr(), 2, uintptr(thread), uintptr(unsafe.Pointer(context)), 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-39- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-49-func _SetThreadContext(thread syscall.Handle, context *_CONTEXT) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:50: r1, _, e1 := syscall.Syscall(procSetThreadContext.Addr(), 2, uintptr(thread), uintptr(unsafe.Pointer(context)), 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-51- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-61-func _SuspendThread(threadid syscall.Handle) (prevsuspcount uint32, err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:62: r0, _, e1 := syscall.Syscall(procSuspendThread.Addr(), 1, uintptr(threadid), 0, 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-63- prevsuspcount = uint32(r0) ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-74-func _ResumeThread(threadid syscall.Handle) (prevsuspcount uint32, err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:75: r0, _, e1 := syscall.Syscall(procResumeThread.Addr(), 1, uintptr(threadid), 0, 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-76- prevsuspcount = uint32(r0) ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-87-func _ContinueDebugEvent(processid uint32, threadid uint32, continuestatus uint32) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:88: r1, _, e1 := syscall.Syscall(procContinueDebugEvent.Addr(), 3, uintptr(processid), uintptr(threadid), uintptr(continuestatus)) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-89- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-99-func _WriteProcessMemory(process syscall.Handle, baseaddr uintptr, buffer *byte, size uintptr, byteswritten *uintptr) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:100: r1, _, e1 := syscall.Syscall6(procWriteProcessMemory.Addr(), 5, uintptr(process), uintptr(baseaddr), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(byteswritten)), 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-101- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-111-func _ReadProcessMemory(process syscall.Handle, baseaddr uintptr, buffer *byte, size uintptr, bytesread *uintptr) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:112: r1, _, e1 := syscall.Syscall6(procReadProcessMemory.Addr(), 5, uintptr(process), uintptr(baseaddr), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(bytesread)), 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-113- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-123-func _DebugBreakProcess(process syscall.Handle) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:124: r1, _, e1 := syscall.Syscall(procDebugBreakProcess.Addr(), 1, uintptr(process), 0, 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-125- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-135-func _WaitForDebugEvent(debugevent *_DEBUG_EVENT, milliseconds uint32) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:136: r1, _, e1 := syscall.Syscall(procWaitForDebugEvent.Addr(), 2, uintptr(unsafe.Pointer(debugevent)), uintptr(milliseconds), 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-137- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-147-func _DebugActiveProcess(processid uint32) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:148: r1, _, e1 := syscall.Syscall(procDebugActiveProcess.Addr(), 1, uintptr(processid), 0, 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-149- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-159-func _DebugActiveProcessStop(processid uint32) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:160: r1, _, e1 := syscall.Syscall(procDebugActiveProcessStop.Addr(), 1, uintptr(processid), 0, 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-161- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/native/zsyscall_windows.go-171-func _QueryFullProcessImageName(process syscall.Handle, flags uint32, exename *uint16, size *uint32) (err error) { delve-1.5.0/pkg/proc/native/zsyscall_windows.go:172: r1, _, e1 := syscall.Syscall6(procQueryFullProcessImageNameW.Addr(), 4, uintptr(process), uintptr(flags), uintptr(unsafe.Pointer(exename)), uintptr(unsafe.Pointer(size)), 0, 0) delve-1.5.0/pkg/proc/native/zsyscall_windows.go-173- if r1 == 0 { ############################################## delve-1.5.0/pkg/proc/proc_test.go-101- delve-1.5.0/pkg/proc/proc_test.go:102:func dataAtAddr(thread proc.MemoryReadWriter, addr uint64) ([]byte, error) { delve-1.5.0/pkg/proc/proc_test.go-103- data := make([]byte, 1) ############################################## delve-1.5.0/pkg/proc/proc_test.go-332- delve-1.5.0/pkg/proc/proc_test.go:333: data, err := dataAtAddr(p.CurrentThread(), bp.Addr) delve-1.5.0/pkg/proc/proc_test.go-334- assertNoError(err, t, "dataAtAddr") ############################################## delve-1.5.0/pkg/proc/proc_unexported_test.go-6- delve-1.5.0/pkg/proc/proc_unexported_test.go:7:func TestAlignAddr(t *testing.T) { delve-1.5.0/pkg/proc/proc_unexported_test.go-8- c := func(align, in, tgt int64) { delve-1.5.0/pkg/proc/proc_unexported_test.go:9: out := alignAddr(in, align) delve-1.5.0/pkg/proc/proc_unexported_test.go-10- if out != tgt { delve-1.5.0/pkg/proc/proc_unexported_test.go:11: t.Errorf("alignAddr(%x, %x) = %x, expected %x", in, align, out, tgt) delve-1.5.0/pkg/proc/proc_unexported_test.go-12- } ############################################## delve-1.5.0/pkg/proc/registers.go-21- // GAddr returns the address of the G variable if it is known, 0 and false otherwise delve-1.5.0/pkg/proc/registers.go:22: GAddr() (uint64, bool) delve-1.5.0/pkg/proc/registers.go-23- Get(int) (uint64, error) ############################################## delve-1.5.0/pkg/proc/variables.go-431- delve-1.5.0/pkg/proc/variables.go:432: gaddr, hasgaddr := regs.GAddr() delve-1.5.0/pkg/proc/variables.go-433- if !hasgaddr { ############################################## delve-1.5.0/pkg/proc/variables.go-619- v.fieldType = t.Type delve-1.5.0/pkg/proc/variables.go:620: v.stride = alignAddr(v.fieldType.Size(), v.fieldType.Align()) delve-1.5.0/pkg/proc/variables.go-621- v.Len = 0 ############################################## delve-1.5.0/pkg/proc/variables.go-1392- curaddr := addr + uintptr(len(val)) delve-1.5.0/pkg/proc/variables.go:1393: maxsize := int(alignAddr(int64(curaddr+1), 1024) - int64(curaddr)) delve-1.5.0/pkg/proc/variables.go-1394- size := len(buf) ############################################## delve-1.5.0/pkg/proc/variables.go-1764- // dereference pointer to find function pc delve-1.5.0/pkg/proc/variables.go:1765: v.closureAddr = v.funcvalAddr() delve-1.5.0/pkg/proc/variables.go-1766- if v.Unreadable != nil { ############################################## delve-1.5.0/pkg/proc/variables.go-1791-// funcvalAddr reads the address of the funcval contained in a function variable. delve-1.5.0/pkg/proc/variables.go:1792:func (v *Variable) funcvalAddr() uint64 { delve-1.5.0/pkg/proc/variables.go-1793- val, err := readUintRaw(v.mem, v.Addr, int64(v.bi.Arch.PtrSize())) ############################################## delve-1.5.0/pkg/proc/winutil/regs.go-162-// otherwise. delve-1.5.0/pkg/proc/winutil/regs.go:163:func (r *AMD64Registers) GAddr() (uint64, bool) { delve-1.5.0/pkg/proc/winutil/regs.go-164- return 0, false ############################################## delve-1.5.0/pkg/proc/winutil/regs.go-166- delve-1.5.0/pkg/proc/winutil/regs.go:167:// Get returns the value of the n-th register (in x86asm order). delve-1.5.0/pkg/proc/winutil/regs.go-168-func (r *AMD64Registers) Get(n int) (uint64, error) { ############################################## delve-1.5.0/pkg/terminal/command.go-1984- delve-1.5.0/pkg/terminal/command.go:1985: var disasm api.AsmInstructions delve-1.5.0/pkg/terminal/command.go-1986- var disasmErr error ############################################## delve-1.5.0/pkg/terminal/config.go-110- field := configureFindFieldByName(t.conf, cfgname) delve-1.5.0/pkg/terminal/config.go:111: if !field.CanAddr() { delve-1.5.0/pkg/terminal/config.go-112- return fmt.Errorf("%q is not a configuration parameter", cfgname) ############################################## delve-1.5.0/pkg/terminal/docgen.go-30- fmt.Fprint(w, "# Configuration and Command History\n\n") delve-1.5.0/pkg/terminal/docgen.go:31: fmt.Fprint(w, "If `$XDG_CONFIG_HOME` is set, then configuration and command history files are located in `$XDG_CONFIG_HOME/dlv`. ") delve-1.5.0/pkg/terminal/docgen.go:32: fmt.Fprint(w, "Otherwise, they are located in `$HOME/.config/dlv` on Linux and `$HOME/.dlv` on other systems.\n\n") delve-1.5.0/pkg/terminal/docgen.go-33- fmt.Fprint(w, "The configuration file `config.yml` contains all the configurable options and their default values. ") ############################################## delve-1.5.0/pkg/terminal/command_test.go-164- } delve-1.5.0/pkg/terminal/command_test.go:165: client := rpc2.NewClient(listener.Addr().String()) delve-1.5.0/pkg/terminal/command_test.go-166- defer func() { ############################################## delve-1.5.0/service/dap/server.go-83- logger := logflags.DAPLogger() delve-1.5.0/service/dap/server.go:84: logflags.WriteDAPListeningMessage(config.Listener.Addr().String()) delve-1.5.0/service/dap/server.go-85- logger.Debug("DAP server pid = ", os.Getpid()) ############################################## delve-1.5.0/service/dap/server_test.go-63- delve-1.5.0/service/dap/server_test.go:64: client := daptest.NewClient(listener.Addr().String()) delve-1.5.0/service/dap/server_test.go-65- defer client.Close() ############################################## delve-1.5.0/service/listenerpipe.go-57-// Addr returns the listener's network address. delve-1.5.0/service/listenerpipe.go:58:func (l *preconnectedListener) Addr() net.Addr { delve-1.5.0/service/listenerpipe.go:59: return l.conn.LocalAddr() delve-1.5.0/service/listenerpipe.go-60-} ############################################## delve-1.5.0/service/rpccommon/sameuser_linux.go-29- delve-1.5.0/service/rpccommon/sameuser_linux.go:30:func sameUserForHexLocalAddr(filename, hexaddr string) (bool, error) { delve-1.5.0/service/rpccommon/sameuser_linux.go-31- b, err := readFile(filename) ############################################## delve-1.5.0/service/rpccommon/sameuser_linux.go-66- hexaddr := fmt.Sprintf("%02X%02X%02X%02X:%04X", b[3], b[2], b[1], b[0], remoteAddr.Port) delve-1.5.0/service/rpccommon/sameuser_linux.go:67: r, err := sameUserForHexLocalAddr("/proc/net/tcp", hexaddr) delve-1.5.0/service/rpccommon/sameuser_linux.go-68- if _, isNotFound := err.(*errConnectionNotFound); isNotFound { delve-1.5.0/service/rpccommon/sameuser_linux.go-69- // See Issue #1835 delve-1.5.0/service/rpccommon/sameuser_linux.go:70: r, err2 := sameUserForHexLocalAddr("/proc/net/tcp6", "0000000000000000FFFF0000"+hexaddr) delve-1.5.0/service/rpccommon/sameuser_linux.go-71- if err2 == nil { ############################################## delve-1.5.0/service/rpccommon/sameuser_linux.go-86- hexaddr := fmt.Sprintf("%08X%08X%08X%08X:%04X", words[0], words[1], words[2], words[3], remoteAddr.Port) delve-1.5.0/service/rpccommon/sameuser_linux.go:87: return sameUserForHexLocalAddr("/proc/net/tcp6", hexaddr) delve-1.5.0/service/rpccommon/sameuser_linux.go-88-} delve-1.5.0/service/rpccommon/sameuser_linux.go-89- delve-1.5.0/service/rpccommon/sameuser_linux.go:90:func sameUserForRemoteAddr(remoteAddr *net.TCPAddr) (bool, error) { delve-1.5.0/service/rpccommon/sameuser_linux.go-91- if remoteAddr.IP.To4() == nil { ############################################## delve-1.5.0/service/rpccommon/sameuser_linux.go-105- } delve-1.5.0/service/rpccommon/sameuser_linux.go:106: same, err := sameUserForRemoteAddr(addr) delve-1.5.0/service/rpccommon/sameuser_linux.go-107- if err != nil { ############################################## delve-1.5.0/service/rpccommon/sameuser_linux_test.go-9- delve-1.5.0/service/rpccommon/sameuser_linux_test.go:10:func TestSameUserForRemoteAddr(t *testing.T) { delve-1.5.0/service/rpccommon/sameuser_linux_test.go-11- uid = 149098 ############################################## delve-1.5.0/service/rpccommon/sameuser_linux_test.go-57- // The returned error is for reporting only. delve-1.5.0/service/rpccommon/sameuser_linux_test.go:58: same, _ := sameUserForRemoteAddr(tt.addr) delve-1.5.0/service/rpccommon/sameuser_linux_test.go-59- if got, want := same, tt.want; got != want { delve-1.5.0/service/rpccommon/sameuser_linux_test.go:60: t.Errorf("sameUserForRemoteAddr(%v) = %v, want %v", tt.addr, got, want) delve-1.5.0/service/rpccommon/sameuser_linux_test.go-61- } ############################################## delve-1.5.0/service/rpccommon/server.go-75- // Print listener address delve-1.5.0/service/rpccommon/server.go:76: logflags.WriteAPIListeningMessage(config.Listener.Addr().String()) delve-1.5.0/service/rpccommon/server.go-77- logger.Debug("API server pid = ", os.Getpid()) ############################################## delve-1.5.0/service/rpccommon/server.go-144- if s.config.CheckLocalConnUser { delve-1.5.0/service/rpccommon/server.go:145: if !canAccept(s.listener.Addr(), c.RemoteAddr()) { delve-1.5.0/service/rpccommon/server.go-146- c.Close() ############################################## delve-1.5.0/service/test/integration1_test.go-53- } delve-1.5.0/service/test/integration1_test.go:54: client := rpc1.NewClient(listener.Addr().String()) delve-1.5.0/service/test/integration1_test.go-55- defer func() { ############################################## delve-1.5.0/service/test/integration1_test.go-661- delve-1.5.0/service/test/integration1_test.go:662:func Test1ClientServer_FindLocationsAddr(t *testing.T) { delve-1.5.0/service/test/integration1_test.go-663- withTestClient1("locationsprog2", t, func(c *rpc1.RPCClient) { ############################################## delve-1.5.0/service/test/integration2_test.go-819- delve-1.5.0/service/test/integration2_test.go:820:func TestClientServer_FindLocationsAddr(t *testing.T) { delve-1.5.0/service/test/integration2_test.go-821- withTestClient2("locationsprog2", t, func(c service.Client) { ############################################## delve-1.5.0/service/test/integration2_test.go-1657- }() delve-1.5.0/service/test/integration2_test.go:1658: client1 := rpc2.NewClient(listener.Addr().String()) delve-1.5.0/service/test/integration2_test.go-1659- client1.Disconnect(false) delve-1.5.0/service/test/integration2_test.go-1660- delve-1.5.0/service/test/integration2_test.go:1661: client2 := rpc2.NewClient(listener.Addr().String()) delve-1.5.0/service/test/integration2_test.go-1662- state := <-client2.Continue() ############################################## delve-1.5.0/.pc/0002-Skip-TestIssue827.patch/pkg/terminal/command_test.go-164- } delve-1.5.0/.pc/0002-Skip-TestIssue827.patch/pkg/terminal/command_test.go:165: client := rpc2.NewClient(listener.Addr().String()) delve-1.5.0/.pc/0002-Skip-TestIssue827.patch/pkg/terminal/command_test.go-166- defer func() {