Home | History | Annotate | Download | only in linker

Lines Matching defs:address

144 // Use Android ASLR to create a random address into which we expect to be
146 // address we get from mmap and assume we can re-map into it later. This
148 // then loads the library normally at any available address.
150 // Returns the address selected by ASLR, or 0 on error.
155 // Pad the requested address space size for a Breakpad guard region.
159 void* address =
161 if (address == MAP_FAILED) {
162 LOG_INFO("Random base load address not determinable");
165 munmap(address, bytes);
168 // Allow for a Breakpad guard region ahead of the returned address.
169 address = reinterpret_cast<void*>(
170 reinterpret_cast<uintptr_t>(address) + kBreakpadGuardRegionBytes);
173 LOG_INFO("Random base load address is %p", address);
174 return static_cast<jlong>(reinterpret_cast<uintptr_t>(address));