commit | b3a365dc9527a61854a42139aab1b895c42c8004 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Oct 27 10:54:01 2023 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri Oct 27 10:58:00 2023 -0700 |
tree | 66aeba312d282717dac5a670d41d07635faafda8 | |
parent | e674d291c41b295a52f80ee064b639903da71073 [diff] |
simpleperf: Fix test JITDebugReader.read_dex_file_in_memory On ARM64, the address returned by malloc can be modified by memory tag. So it can't match any address ranges in /proc/<pid>/maps. Fix the test by using mmap() instead. Bug: 307972834 Test: run simpleperf_unit_test on device Change-Id: I48a674a3de9daaf258b11ec97b888e64de10d17c