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.cpp441 uint64_t min_addr = std::numeric_limits<uint64_t>::max(); in ReadMinExecutableVaddr() local
444 if (it->p_vaddr < min_addr) { in ReadMinExecutableVaddr()
445 min_addr = it->p_vaddr; in ReadMinExecutableVaddr()
453 min_addr = 0; in ReadMinExecutableVaddr()
456 return min_addr; in ReadMinExecutableVaddr()