/macosx-10.10.1/xnu-2782.1.97/libkern/kxld/ |
H A D | kxld_reloc.h | 54 typedef kern_return_t(*ProcessReloc)(const KXLDRelocator *relocator, 90 kern_return_t kxld_relocator_init(KXLDRelocator *relocator, u_char *file, 96 const KXLDRelocator *relocator, const struct relocation_info *srcs, 99 void kxld_relocator_clear(KXLDRelocator *relocator) 106 boolean_t kxld_relocator_has_pair(const KXLDRelocator *relocator, u_int r_type) 109 u_int kxld_relocator_get_pair_type(const KXLDRelocator *relocator, 113 boolean_t kxld_relocator_has_got(const KXLDRelocator *relocator, u_int r_type) 116 kxld_addr_t kxld_relocator_get_pointer_at_addr(const KXLDRelocator *relocator, 120 struct kxld_sym * kxld_reloc_get_symbol(const KXLDRelocator *relocator, 140 kern_return_t kxld_reloc_export_macho(const KXLDRelocator *relocator, [all...] |
H A D | kxld_reloc.c | 120 static kern_return_t generic_process_reloc(const KXLDRelocator *relocator, 133 static kern_return_t x86_64_process_reloc(const KXLDRelocator *relocator, 148 static kern_return_t arm_process_reloc(const KXLDRelocator *relocator, 161 static kern_return_t arm64_process_reloc(const KXLDRelocator *relocator, 168 static kxld_addr_t get_pointer_at_addr_32(const KXLDRelocator *relocator, 173 static kxld_addr_t get_pointer_at_addr_64(const KXLDRelocator *relocator, 178 static u_int count_relocatable_relocs(const KXLDRelocator *relocator, 182 static kern_return_t calculate_targets(KXLDRelocator *relocator, 185 static kxld_addr_t align_raw_function_address(const KXLDRelocator *relocator, 192 const KXLDRelocator *relocator, u_lon 204 kxld_relocator_init(KXLDRelocator *relocator, u_char *file, const KXLDSymtab *symtab, const KXLDArray *sectarray, cpu_type_t cputype, cpu_subtype_t cpusubtype __unused, boolean_t swap) argument 280 kxld_reloc_create_macho(KXLDArray *relocarray, const KXLDRelocator *relocator, const struct relocation_info *srcs, u_int nsrcs) argument 408 count_relocatable_relocs(const KXLDRelocator *relocator, const struct relocation_info *relocs, u_int nrelocs) argument 450 kxld_relocator_clear(KXLDRelocator *relocator) argument 458 kxld_relocator_has_pair(const KXLDRelocator *relocator, u_int r_type) argument 468 kxld_relocator_get_pair_type(const KXLDRelocator *relocator, u_int prev_r_type) argument 479 kxld_relocator_has_got(const KXLDRelocator *relocator, u_int r_type) argument 489 kxld_reloc_get_symbol(const KXLDRelocator *relocator, const KXLDReloc *reloc, const u_char *data) argument 587 kxld_reloc_export_macho(const KXLDRelocator *relocator, const KXLDArray *locrelocs, const KXLDArray *extrelocs, u_char *buf, u_long *header_offset, u_long header_size, u_long *data_offset, u_long size) argument 639 kxld_relocator_get_pointer_at_addr(const KXLDRelocator *relocator, const u_char *data, u_long offset) argument 655 get_pointer_at_addr_32(const KXLDRelocator *relocator, const u_char *data, u_long offset) argument 677 get_pointer_at_addr_64(const KXLDRelocator *relocator, const u_char *data, u_long offset) argument 698 kxld_relocator_set_vtables(KXLDRelocator *relocator, const KXLDDict *vtables) argument 711 align_raw_function_address(const KXLDRelocator *relocator, kxld_addr_t value) argument 723 kxld_relocator_process_sect_reloc(KXLDRelocator *relocator, const KXLDReloc *reloc, const KXLDSect *sect) argument 788 kxld_relocator_process_table_reloc(KXLDRelocator *relocator, const KXLDReloc *reloc, const KXLDSeg *seg, kxld_addr_t link_addr) argument 834 calculate_targets(KXLDRelocator *relocator, kxld_addr_t *_target, kxld_addr_t *_pair_target, const KXLDReloc *reloc) argument 987 check_for_direct_pure_virtual_call(const KXLDRelocator *relocator, u_long offset) argument 1035 export_macho_for_array(const KXLDRelocator *relocator, const KXLDArray *relocs, struct relocation_info **dstp) argument 1163 generic_process_reloc(const KXLDRelocator *relocator, u_char *instruction, u_int length, u_int pcrel, kxld_addr_t _base_pc, kxld_addr_t _link_pc, kxld_addr_t _link_disp __unused, u_int _type, kxld_addr_t _target, kxld_addr_t _pair_target, boolean_t swap __unused) argument [all...] |
H A D | kxld_vtable.c | 67 const KXLDSect *sect, const KXLDRelocator *relocator); 70 const KXLDSym *vtable_sym, const KXLDRelocator *relocator, 74 const KXLDRelocator *relocator, const KXLDDict *defined_cxx_symbols); 84 const KXLDRelocator *relocator = NULL; local 93 relocator = kxld_object_get_relocator(object); 104 rval = init_by_entries(vtable, relocator, defined_cxx_symbols); 119 relocator, extrelocs, defined_cxx_symbols); 129 rval = init_by_relocs(vtable, vtable_sym, vtable_sect, relocator); 167 const KXLDSect *sect, const KXLDRelocator *relocator) 185 check(relocator); 166 init_by_relocs(KXLDVTable *vtable, const KXLDSym *vtable_sym, const KXLDSect *sect, const KXLDRelocator *relocator) argument 253 init_by_entries(KXLDVTable *vtable, const KXLDRelocator *relocator, const KXLDDict *defined_cxx_symbols) argument 330 init_by_entries_and_relocs(KXLDVTable *vtable, const KXLDSym *vtable_sym, const KXLDRelocator *relocator, const KXLDArray *relocs, const KXLDDict *defined_cxx_symbols) argument [all...] |
H A D | kxld_sect.h | 75 u_long *sect_offset, u_int sectnum, const struct kxld_relocator *relocator) 84 u_long *sect_offset, u_int sectnum, const struct kxld_relocator *relocator) 138 const struct kxld_relocator *relocator, const struct kxld_symtab *symtab) 178 struct kxld_relocator *relocator)
|
H A D | kxld_sect.c | 58 u_int sectnum, const KXLDRelocator *relocator) 87 rval = kxld_reloc_create_macho(§->relocs, relocator, 106 u_int sectnum, const KXLDRelocator *relocator) 135 rval = kxld_reloc_create_macho(§->relocs, relocator, 285 kxld_sect_get_ngots(const KXLDSect *sect, const KXLDRelocator *relocator, argument 296 if (relocator->reloc_has_got(reloc->reloc_type)) { 300 sym = kxld_reloc_get_symbol(relocator, reloc, sect->data, symtab); 604 kxld_sect_process_relocs(KXLDSect *sect, KXLDRelocator *relocator) argument 612 rval = kxld_relocator_process_sect_reloc(relocator, reloc, sect); 57 kxld_sect_init_from_macho_32(KXLDSect *sect, u_char *macho, u_long *sect_offset, u_int sectnum, const KXLDRelocator *relocator) argument 105 kxld_sect_init_from_macho_64(KXLDSect *sect, u_char *macho, u_long *sect_offset, u_int sectnum, const KXLDRelocator *relocator) argument
|
H A D | kxld_object.c | 84 KXLDRelocator relocator; member in struct:kxld_object 242 /* Build the relocator */ 244 rval = kxld_relocator_init(&object->relocator, object->file, 647 rval = kxld_reloc_create_macho(&object->extrelocs, &object->relocator, 652 rval = kxld_reloc_create_macho(&object->locrelocs, &object->relocator, 690 sect, object->file, §_offset, secti, &object->relocator); 986 sect, object->file, §_offset, i, &object->relocator); 1190 return &object->relocator; 1257 sym = kxld_reloc_get_symbol(&object->relocator, reloc, object->file); 1259 sym = kxld_reloc_get_symbol(&object->relocator, relo [all...] |
/macosx-10.10.1/SecurityTokend-55108/lib/ |
H A D | transit.cpp | 35 ReconstituteWalker relocator(attrs, base); 38 walk(relocator, context[n]);
|
H A D | tdtransit.cpp | 466 ReconstituteWalker relocator(info, infoBase); 468 walk(relocator, info[n]);
|
/macosx-10.10.1/SecurityTokend-55108/security_tokend_client/ |
H A D | transit.cpp | 35 ReconstituteWalker relocator(attrs, base); 38 walk(relocator, context[n]);
|
H A D | tdtransit.cpp | 466 ReconstituteWalker relocator(info, infoBase); 468 walk(relocator, info[n]);
|
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/ |
H A D | context.cpp | 113 ReconstituteWalker relocator(LowLevelMemoryUtilities::difference(ipcAttributes, base)); 116 walk(relocator, (*this)[n]);
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/ |
H A D | context.cpp | 113 ReconstituteWalker relocator(LowLevelMemoryUtilities::difference(ipcAttributes, base)); 116 walk(relocator, (*this)[n]);
|
/macosx-10.10.1/Security-57031.1.35/SecurityTests/xdr_rpc/ |
H A D | xdr_test.cpp | 1946 ReconstituteWalker relocator(offset); 1949 walk(relocator, attrs[i]); 2131 ReconstituteWalker relocator(offset); 2132 walk(relocator, reinterpret_cast<AclOwnerPrototype *&>(baseptr)); 2271 ReconstituteWalker relocator(offset); 2272 walk(relocator, reinterpret_cast<AclEntryInput *&>(baseptr)); 2411 ReconstituteWalker relocator(offset); 2412 walk(relocator, reinterpret_cast<AclEntryInput *&>(baseptr)); 2568 ReconstituteWalker relocator(offset); 2569 walk(relocator, reinterpret_cas [all...] |