Home
last modified time | relevance | path

Searched refs:min_addr (Results 1 – 4 of 4) 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/
DJITDebugReader.cpp502 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()
Dread_elf.h75 uint64_t* min_addr,
Dread_elf.cpp513 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()