- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 184 for elf_ (0.06 sec)
-
src/cmd/dist/util.go
} func min(a, b int) int { if a < b { return a } return b } // elfIsLittleEndian detects if the ELF file is little endian. func elfIsLittleEndian(fn string) bool { // read the ELF file header to determine the endianness without using the // debug/elf package. file, err := os.Open(fn) if err != nil { fatalf("failed to open file to determine endianness: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 17:50:29 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
rs := decodeRelocSym(ctxt.loader, s, &relocs, 2*int32(ctxt.Arch.PtrSize)+8+1*int32(ctxt.Arch.PtrSize)) return ctxt.loader.Data(rs) } // Find the elf.Section of a given shared library that contains a given address. func findShlibSection(ctxt *Link, path string, addr uint64) *elf.Section { for _, shlib := range ctxt.Shlibs { if shlib.Path == path { for _, sect := range shlib.File.Sections[1:] { // skip the NULL section
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/internal/archive/archive_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 19:27:33 UTC 2023 - 7.9K bytes - Viewed (0) -
src/runtime/cgo/gcc_riscv64.S
.file "gcc_riscv64.S" /* * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g) * * Calling into the gc tool chain, where all registers are caller save. * Called from standard RISCV ELF psABI, where x8-x9, x18-x27, f8-f9 and * f18-f27 are callee-save, so they must be saved explicitly, along with * x1 (LR). */ .globl crosscall1 crosscall1: sd x1, -200(sp) addi sp, sp, -200 sd x8, 8(sp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 16:41:48 UTC 2022 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/amd64/versions_test.go
// which does not respect GOAMD64, so we skip the test if boringcrypto is enabled. //go:build !boringcrypto package amd64_test import ( "bufio" "debug/elf" "debug/macho" "errors" "fmt" "go/build" "internal/testenv" "io" "math" "math/bits" "os" "os/exec" "regexp" "runtime" "strconv" "strings" "testing" )
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/crypto/internal/boring/build-boring.sh
export CGO_ENABLED=0 # Modify the support code crypto/mem.c (outside the FIPS module) # to not try to use weak symbols, because they don't work with some # Go toolchain / clang toolchain combinations. perl -p -i -e 's/defined.*ELF.*defined.*GNUC.*/$0 \&\& !defined(GOBORING)/' boringssl/crypto/mem.c # Verbatim instructions from BoringCrypto build docs. printf "set(CMAKE_C_COMPILER \"clang\")\nset(CMAKE_CXX_COMPILER \"clang++\")\n" >${HOME}/toolchain
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 21:28:09 UTC 2022 - 1.5K bytes - Viewed (0) -
doc/next/5-toolchain.md
A linker command line flag `-checklinkname=0` can be used to disable this check, for debugging and experimenting purposes. <!-- CL 473495 --> When building a dynamically linked ELF binary (including PIE binary), the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:18:10 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/vdso_elf32.go
e_phoff uint32 /* Program header table file offset */ e_shoff uint32 /* Section header table file offset */ e_flags uint32 /* Processor-specific flags */ e_ehsize uint16 /* ELF header size in bytes */ e_phentsize uint16 /* Program header table entry size */ e_phnum uint16 /* Program header table entry count */ e_shentsize uint16 /* Section header table entry size */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.8K bytes - Viewed (0) -
src/runtime/vdso_elf64.go
e_phoff uint64 /* Program header table file offset */ e_shoff uint64 /* Section header table file offset */ e_flags uint32 /* Processor-specific flags */ e_ehsize uint16 /* ELF header size in bytes */ e_phentsize uint16 /* Program header table entry size */ e_phnum uint16 /* Program header table entry count */ e_shentsize uint16 /* Section header table entry size */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 19:32:35 UTC 2022 - 2.8K bytes - Viewed (0) -
tools/docker-copy.sh
if [[ "${extension}" == "deb" ]]; then arch="$(dpkg-deb --info "${FILE}" | grep Arch | cut -d: -f 2 | cut -c 2-)" echo "${arch}" return 0 fi FILE_INFO=$(file "${FILE}" || true) if [[ ${FILE_INFO} == *"ELF 64-bit LSB"* ]]; then case ${FILE_INFO} in *x86-64*) echo "amd64" return 0 ;; *aarch64*) echo "arm64" return 0 ;; esac fi }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 04 03:06:26 UTC 2022 - 2.6K bytes - Viewed (0)