Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dynStrings (0.43 sec)

  1. src/cmd/cgo/internal/testshared/shared_test.go

    	}
    	return notes, nil
    }
    
    func dynStrings(t *testing.T, path string, flag elf.DynTag) []string {
    	t.Helper()
    	f, err := elf.Open(path)
    	if err != nil {
    		t.Fatalf("elf.Open(%q) failed: %v", path, err)
    	}
    	defer f.Close()
    	dynstrings, err := f.DynString(flag)
    	if err != nil {
    		t.Fatalf("DynString(%s) failed on %s: %v", flag, path, err)
    	}
    	return dynstrings
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  2. src/debug/elf/file.go

    func (f *File) ImportedLibraries() ([]string, error) {
    	return f.DynString(DT_NEEDED)
    }
    
    // DynString returns the strings listed for the given tag in the file's dynamic
    // section.
    //
    // The tag must be one that takes string values: [DT_NEEDED], [DT_SONAME], [DT_RPATH], or
    // [DT_RUNPATH].
    func (f *File) DynString(tag DynTag) ([]string, error) {
    	switch tag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"UnsupportedType.Tag", Field, 13},
    		{"VoidType", Type, 0},
    		{"VoidType.CommonType", Field, 0},
    	},
    	"debug/elf": {
    		{"(*File).Close", Method, 0},
    		{"(*File).DWARF", Method, 0},
    		{"(*File).DynString", Method, 1},
    		{"(*File).DynValue", Method, 21},
    		{"(*File).DynamicSymbols", Method, 4},
    		{"(*File).ImportedLibraries", Method, 0},
    		{"(*File).ImportedSymbols", Method, 0},
    		{"(*File).Section", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg debug/elf, const STV_HIDDEN = 2
    pkg debug/elf, const STV_INTERNAL = 1
    pkg debug/elf, const STV_PROTECTED = 3
    pkg debug/elf, const Sym32Size = 16
    pkg debug/elf, const Sym64Size = 24
    pkg debug/elf, method (*File) DynString(DynTag) ([]string, error)
    pkg debug/elf, type FileHeader struct, Entry uint64
    pkg debug/macho, const Cpu386 = 7
    pkg debug/macho, const CpuAmd64 = 16777223
    pkg debug/macho, const LoadCmdDylib = 12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top