- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for v4Addr (0.25 sec)
-
src/cmd/compile/internal/amd64/versions_test.go
for _, sec := range e.Sections { vaddr := sec.Addr paddr := sec.Offset size := sec.Size for a := range virtualEdits { if a >= vaddr && a < vaddr+size { physicalEdits[paddr+(a-vaddr)] = true } } } } else if m, err2 := macho.Open(src); err2 == nil { for _, sec := range m.Sections { vaddr := sec.Addr paddr := uint64(sec.Offset) size := sec.Size
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:19:15 UTC 2022 - 10.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ph.Flags |= elf.PF_X } ph.Vaddr = seg.Vaddr ph.Paddr = seg.Vaddr ph.Memsz = seg.Length ph.Off = seg.Fileoff ph.Filesz = seg.Filelen ph.Align = uint64(*FlagRound) return ph } func elfphrelro(seg *sym.Segment) { ph := newElfPhdr() ph.Type = elf.PT_GNU_RELRO ph.Flags = elf.PF_R ph.Vaddr = seg.Vaddr ph.Paddr = seg.Vaddr ph.Memsz = seg.Length
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo.go
} func (x *elfExe) ReadData(addr, size uint64) ([]byte, error) { for _, prog := range x.f.Progs { if prog.Vaddr <= addr && addr <= prog.Vaddr+prog.Filesz-1 { n := prog.Vaddr + prog.Filesz - addr if n > size { n = size } return saferio.ReadDataAt(prog, n, int64(addr-prog.Vaddr)) } } return nil, errUnrecognizedFormat } func (x *elfExe) DataStart() (uint64, uint64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
textbase := Segtext.Sections[0].Vaddr for _, sect := range Segtext.Sections { if sect.Name != ".text" { break } // The fields written should match runtime/symtab.go:textsect. // They are designed to minimize runtime calculations. vaddr := sect.Vaddr - textbase off = t.SetUint(ctxt.Arch, off, vaddr) // field vaddr end := vaddr + sect.Length
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/debug/elf/file_test.go
{Type: PT_NOTE, Flags: 0x0, Off: 0x3f8, Vaddr: 0x0, Paddr: 0x0, Filesz: 0x8ac, Memsz: 0x0, Align: 0x0}, {Type: PT_LOAD, Flags: PF_X + PF_R, Off: 0x1000, Vaddr: 0x400000, Paddr: 0x0, Filesz: 0x0, Memsz: 0x1000, Align: 0x1000}, {Type: PT_LOAD, Flags: PF_R, Off: 0x1000, Vaddr: 0x401000, Paddr: 0x0, Filesz: 0x1000, Memsz: 0x1000, Align: 0x1000},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
// ctxt.Logf("%s 0x%x\n", sect.Name, sect.Vaddr) // If main section has no bits, nothing to relocate. if sect.Vaddr >= sect.Seg.Vaddr+sect.Seg.Filelen { return 0 } sect.Reloff = uint64(ctxt.Out.Offset()) for i, s := range syms { if !ldr.AttrReachable(s) { continue } if uint64(ldr.SymValue(s)) >= sect.Vaddr { syms = syms[i:] break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
if gotFlag := dynFlag&flag != 0; gotFlag { return true } } return false } segContainsSec := func(p *elf.Prog, s *elf.Section) bool { return s.Addr >= p.Vaddr && s.Addr+s.FileSize <= p.Vaddr+p.Filesz } for _, test := range tests { t.Run(test.name, func(t *testing.T) { if test.mustInternalLink { testenv.MustInternalLink(t, test.mustHaveCGO) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K bytes - Viewed (0) -
src/net/lookup_test.go
t.Fatalf("DefaultResolver.LookupIP(%q, %q): failed with unexpected error: %v", network, host, err) } var v4Addrs []netip.Addr var v6Addrs []netip.Addr for _, ip := range ips { if addr, ok := netip.AddrFromSlice(ip); ok { if addr.Is4() { v4Addrs = append(v4Addrs, addr) } else { v6Addrs = append(v6Addrs, addr) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
src/runtime/symtab.go
type functab struct { entryoff uint32 // relative to runtime.text funcoff uint32 } // Mapping information for secondary text sections type textsect struct { vaddr uintptr // prelinked section vaddr end uintptr // vaddr + section length baseaddr uintptr // relocated section address } // findfuncbucket is an array of these structures. // Each bucket represents 4096 bytes of the text segment.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
ldr.SymSect(ldr.Lookup("runtime.data", 0)), } dataSects = make([]wasmDataSect, len(sections)) for i, sect := range sections { data := ld.DatblkBytes(ctxt, int64(sect.Vaddr), int64(sect.Length)) dataSects[i] = wasmDataSect{sect, data} } } // asmb writes the final WebAssembly module binary. // Spec: https://webassembly.github.io/spec/core/binary/modules.html
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0)