Home
last modified time | relevance | path

Searched refs:min_addr (Results 1 – 2 of 2) sorted by relevance

/system/extras/tests/kernel.config/
Daslr_test.cpp116 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/
Dread_elf.cpp425 uint64_t min_addr = std::numeric_limits<uint64_t>::max(); in ReadMinExecutableVaddr() local
428 if (it->p_vaddr < min_addr) { in ReadMinExecutableVaddr()
429 min_addr = it->p_vaddr; in ReadMinExecutableVaddr()
437 min_addr = 0; in ReadMinExecutableVaddr()
440 return min_addr; in ReadMinExecutableVaddr()