/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_elf_relro.cpp | 70 bool SharedRelro::Allocate(size_t relro_size, in Allocate() argument 76 if (!ashmem_.Allocate(relro_size, name.c_str())) { in Allocate() 84 size_ = relro_size; in Allocate() 89 size_t relro_size, in CopyFrom() argument 93 if (!map.Allocate(NULL, relro_size, MemoryMapping::CAN_WRITE, ashmem_.fd())) { in CopyFrom() 99 ::memcpy(map.Get(), reinterpret_cast<void*>(relro_start), relro_size); in CopyFrom() 106 size_ = relro_size; in CopyFrom() 113 size_t relro_size, in CopyFromRelocated() argument 125 NULL, relro_size, MemoryMapping::CAN_READ_WRITE, ashmem_.fd())) { in CopyFromRelocated() 134 relro_size); in CopyFromRelocated() [all …]
|
D | crazy_linker_elf_relro.h | 40 bool Allocate(size_t relro_size, const char* library_name, Error* error); 47 bool CopyFrom(size_t relro_start, size_t relro_size, Error* error); 57 size_t relro_size, 71 size_t relro_size,
|
D | crazy_linker_shared_library.cpp | 316 size_t* relro_size, in CreateSharedRelro() argument 342 *relro_size = relro.size(); in CreateSharedRelro() 348 size_t relro_size, in UseSharedRelro() argument 354 (void*)relro_size, in UseSharedRelro() 357 if (relro_fd < 0 || relro_size == 0) { in UseSharedRelro() 369 if (relro_start_ != relro_start || relro_size_ != relro_size) { in UseSharedRelro() 374 relro_size); in UseSharedRelro() 380 if (!relro.InitFrom(relro_start, relro_size, relro_fd, error)) in UseSharedRelro()
|
D | crazy_linker_shared_library.h | 68 size_t* relro_size) { in GetInfo() argument 72 *relro_size = relro_size_; in GetInfo() 115 size_t* relro_size, 123 size_t relro_size,
|
D | crazy_linker_library_view.cpp | 42 size_t* relro_size, in GetInfo() argument 49 crazy_->GetInfo(load_address, load_size, relro_start, relro_size); in GetInfo()
|
D | linker_phdr.cpp | 262 ELF::Addr* relro_size) { in phdr_table_get_relro_info() argument 288 *relro_size = in phdr_table_get_relro_info() 315 ELF::Addr relro_start, relro_size; in phdr_table_protect_gnu_relro() local 318 phdr_table, phdr_count, load_bias, &relro_start, &relro_size) < 0) { in phdr_table_protect_gnu_relro() 322 return mprotect((void*)relro_start, relro_size, PROT_READ); in phdr_table_protect_gnu_relro()
|
D | crazy_linker_api.cpp | 238 &info->relro_size, in crazy_library_get_info() 260 size_t* relro_size, in crazy_library_create_shared_relro() argument 271 load_address, relro_start, relro_size, relro_fd, &context->error)) in crazy_library_create_shared_relro() 280 size_t relro_size, in crazy_library_use_shared_relro() argument 290 if (!lib->UseSharedRelro(relro_start, relro_size, relro_fd, &context->error)) in crazy_library_use_shared_relro()
|
D | linker_phdr.h | 61 ELF::Addr* relro_size);
|
D | crazy_linker_library_view.h | 71 size_t* relro_size,
|
/ndk/sources/android/crazy_linker/include/ |
D | crazy_linker.h | 228 size_t relro_size; member 262 size_t* relro_size, 280 size_t relro_size,
|