Skip to content

Commit d8003a7

Browse files
authored
pkg/proc: fix 404 links and change to https (#3775)
1 parent 7a801c4 commit d8003a7

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![Delve](https://raw.githubusercontent.com/go-delve/delve/master/assets/delve_horizontal.png)
22

3-
[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/go-delve/delve/master/LICENSE)
3+
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/go-delve/delve/master/LICENSE)
44
[![GoDoc](https://godoc.org/github.com/go-delve/delve?status.svg)](https://godoc.org/github.com/go-delve/delve)
55
[![Build Status](https://delve.teamcity.com/app/rest/builds/buildType:(id:Delve_AggregatorBuild)/statusIcon.svg)](https://delve.teamcity.com/viewType.html?buildTypeId=Delve_AggregatorBuild&guest=1)
66

‎pkg/proc/core/linux_core.go‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const _NT_AUXV elf.NType = 0x6
3636
const _NT_FPREGSET elf.NType = 0x2
3737

3838
// Fetch architecture using exeELF.Machine from core file
39-
// Refer http://man7.org/linux/man-pages/man5/elf.5.html
39+
// Refer https://man7.org/linux/man-pages/man5/elf.5.html
4040
const (
4141
_EM_AARCH64 = 183
4242
_EM_X86_64 = 62
@@ -89,9 +89,9 @@ func linuxThreadsFromNotes(p *process, notes []*note, machineType elf.Machine) p
8989
// readLinuxOrPlatformIndependentCore reads a core file from corePath
9090
// corresponding to the executable at exePath. For details on the Linux ELF
9191
// core format, see:
92-
// http://www.gabriel.urdhr.fr/2015/05/29/core-file/,
93-
// http://uhlo.blogspot.fr/2012/05/brief-look-into-core-dumps.html,
94-
// elf_core_dump in http://lxr.free-electrons.com/source/fs/binfmt_elf.c,
92+
// https://www.gabriel.urdhr.fr/2015/05/29/core-file/,
93+
// https://uhlo.blogspot.com/2012/05/brief-look-into-core-dumps.html,
94+
// elf_core_dump in https://elixir.bootlin.com/linux/v4.20.17/source/fs/binfmt_elf.c,
9595
// and, if absolutely desperate, readelf.c from the binutils source.
9696
func readLinuxOrPlatformIndependentCore(corePath, exePath string) (*process, proc.Thread, error) {
9797
coreFile, err := elf.Open(corePath)
@@ -256,7 +256,7 @@ func readNotes(core *elf.File, machineType elf.Machine) ([]*note, bool, error) {
256256
// readNote reads a single note from r, decoding the descriptor if possible.
257257
func readNote(r io.ReadSeeker, machineType elf.Machine) (*note, error) {
258258
// Notes are laid out as described in the SysV ABI:
259-
// http://www.sco.com/developers/gabi/latest/ch5.pheader.html#note_section
259+
// https://www.sco.com/developers/gabi/latest/ch5.pheader.html#note_section
260260
note := &note{}
261261
hdr := &elfNotesHdr{}
262262

@@ -406,7 +406,7 @@ func findEntryPoint(notes []*note, ptrSize int) uint64 {
406406
// LinuxPrPsInfo has various structures from the ELF spec and the Linux kernel.
407407
// AMD64 specific primarily because of unix.PtraceRegs, but also
408408
// because some of the fields are word sized.
409-
// See http://lxr.free-electrons.com/source/include/uapi/linux/elfcore.h
409+
// See https://elixir.bootlin.com/linux/v4.20.17/source/include/uapi/linux/elfcore.h
410410
type linuxPrPsInfo struct {
411411
State uint8
412412
Sname int8

‎pkg/proc/linutil/dynamic.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func readCString(p proc.Process, addr uint64) (string, error) {
138138
// ElfUpdateSharedObjects reads the list of dynamic libraries loaded by the
139139
// dynamic linker from the .dynamic section and uses it to update p.BinInfo().
140140
// See the SysV ABI for a description of how the .dynamic section works:
141-
// http://www.sco.com/developers/gabi/latest/contents.html
141+
// https://www.sco.com/developers/gabi/latest/contents.html
142142
func ElfUpdateSharedObjects(p proc.Process) error {
143143
bi := p.BinInfo()
144144
if bi.ElfDynamicSection.Addr == 0 {

‎pkg/proc/native/proc_darwin.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ mach_port_wait(mach_port_t port_set, task_t *task, int nonblocking) {
159159
switch (msg.hdr.msgh_id) {
160160
case 2401: { // Exception
161161
// 2401 is the exception_raise event, defined in:
162-
// http://opensource.apple.com/source/xnu/xnu-2422.1.72/osfmk/mach/exc.defs?txt
162+
// https://opensource.apple.com/source/xnu/xnu-2422.1.72/osfmk/mach/exc.defs?txt
163163
// compile this file with mig to get the C version of the description
164164

165165
mach_msg_body_t *bod = (mach_msg_body_t*)(&msg.hdr + 1);

‎pkg/proc/native/ptrace_linux_386.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func ptraceGetRegset(tid int) (regset amd64util.AMD64Xstate, err error) {
4343
}
4444

4545
// ptraceGetTls return the addr of tls by PTRACE_GET_THREAD_AREA for specify thread.
46-
// See http://man7.org/linux/man-pages/man2/ptrace.2.html for detail about PTRACE_GET_THREAD_AREA.
46+
// See https://man7.org/linux/man-pages/man2/ptrace.2.html for detail about PTRACE_GET_THREAD_AREA.
4747
// struct user_desc at https://golang.org/src/runtime/sys_linux_386.s
4848
//
4949
// type UserDesc struct {

‎pkg/proc/variables.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ func convertToEface(srcv, dstv *Variable) error {
14791479

14801480
func readStringInfo(mem MemoryReadWriter, arch *Arch, addr uint64, typ *godwarf.StringType) (uint64, int64, error) {
14811481
// string data structure is always two ptrs in size. Addr, followed by len
1482-
// http://research.swtch.com/godata
1482+
// https://research.swtch.com/godata
14831483

14841484
mem = cacheMemory(mem, addr, arch.PtrSize()*2)
14851485

0 commit comments

Comments
 (0)