Home
last modified time | relevance | path

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

/system/extras/tests/kernel.config/
Daslr_test.cpp121 std::string addr_str = scrape_addr(exec_name, lib_match); in calc_mmap_entropy() local
122 if (addr_str.empty()) { in calc_mmap_entropy()
126 if (!isxdigit(addr_str[0])) { in calc_mmap_entropy()
127 std::cerr << "invalid address: " << addr_str; in calc_mmap_entropy()
130 addr = min_addr = max_addr = std::stoll(addr_str, 0, 16); in calc_mmap_entropy()
133 addr_str = scrape_addr(exec_name, lib_match); in calc_mmap_entropy()
134 if (addr_str.empty()) { in calc_mmap_entropy()
138 if (!isxdigit(addr_str[0])) { in calc_mmap_entropy()
139 std::cerr << "invalid address: " << addr_str; in calc_mmap_entropy()
142 addr = std::stoll(addr_str, 0, 16); in calc_mmap_entropy()
/system/extras/simpleperf/scripts/
Dannotate.py92 addr_str = []
94 addr_str.append('0x%x' % addr)
95 addr_str = '\n'.join(addr_str)
98 (stdoutdata, _) = subproc.communicate(addr_str)
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp347 std::string addr_str; in get_addr_string() local
349 addr_str = StringPrintf("%08x'%08x", in get_addr_string()
353 addr_str = StringPrintf("%08x", addr); in get_addr_string()
355 return addr_str; in get_addr_string()