@@ -36,7 +36,7 @@ const _NT_AUXV elf.NType = 0x6
3636const _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
4040const (
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.
9696func 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.
257257func 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
410410type linuxPrPsInfo struct {
411411 State uint8
412412 Sname int8
0 commit comments