Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for applyRelocations (0.2 sec)

  1. src/debug/elf/file.go

    func (f *File) Section(name string) *Section {
    	for _, s := range f.Sections {
    		if s.Name == name {
    			return s
    		}
    	}
    	return nil
    }
    
    // applyRelocations applies relocations to dst. rels is a relocations section
    // in REL or RELA format.
    func (f *File) applyRelocations(dst []byte, rels []byte) error {
    	switch {
    	case f.Class == ELFCLASS64 && f.Machine == EM_X86_64:
    		return f.applyRelocationsAMD64(dst, rels)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top