Home
last modified time | relevance | path

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

/system/extras/tests/kernel.config/
Daslr_test.cpp114 uint64_t min_addr = 0, max_addr = 0; in calc_mmap_entropy() local
119 uint64_t addr = min_addr = max_addr = std::stoll(scrape_addr(exec_name, lib_match), 0, 16); in calc_mmap_entropy()
128 if (addr >= max_addr) in calc_mmap_entropy()
129 max_addr = addr; in calc_mmap_entropy()
136 …unsigned int e_bits = (int) (std::ceil(std::log2(max_addr - min_addr)) - std::log2(getpagesize())); in calc_mmap_entropy()