Searched refs:min_addr (Results 1 – 4 of 4) sorted by relevance
/system/extras/tests/kernel.config/ |
D | aslr_test.cpp | 116 uint64_t addr, min_addr, max_addr; in calc_mmap_entropy() local 130 addr = min_addr = max_addr = std::stoll(addr_str, 0, 16); in calc_mmap_entropy() 143 if (addr < min_addr) in calc_mmap_entropy() 144 min_addr = addr; in calc_mmap_entropy() 153 …unsigned int e_bits = (int) (std::ceil(std::log2(max_addr - min_addr)) - std::log2(getpagesize())); in calc_mmap_entropy()
|
/system/extras/simpleperf/ |
D | JITDebugReader.cpp | 502 uint64_t min_addr = UINT64_MAX; in ReadJITCodeDebugInfo() local 505 min_addr = std::min(min_addr, symbol.vaddr); in ReadJITCodeDebugInfo() 511 ElfStatus::NO_ERROR || min_addr >= max_addr) { in ReadJITCodeDebugInfo() 522 debug_info->emplace_back(process.pid, jit_entry.timestamp, min_addr, max_addr - min_addr, in ReadJITCodeDebugInfo()
|
D | read_elf.h | 75 uint64_t* min_addr,
|
D | read_elf.cpp | 513 uint64_t min_addr = std::numeric_limits<uint64_t>::max(); in ReadMinExecutableVirtualAddress() local 516 if (it->p_vaddr < min_addr) { in ReadMinExecutableVirtualAddress() 517 min_addr = it->p_vaddr; in ReadMinExecutableVirtualAddress() 525 min_addr = 0; in ReadMinExecutableVirtualAddress() 528 *p_vaddr = min_addr; in ReadMinExecutableVirtualAddress()
|