summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2020-01-21 17:56:25 -0800
committerChristopher Ferris <cferris@google.com>2020-01-21 18:00:57 -0800
commitde5cd8ccd41073f4d5a3d2f05f86dc7e53592cb9 (patch)
treed5ada1da28c546bd201643c5eab33e56d6844b05 /debuggerd/handler/debuggerd_handler.cpp
parenta78d0cb73530fb1fca51392be462ded9d59f36fa (diff)
Fix global finding logic.
Recently, the maps for an elf in memory might show up looking like: f0000-f1000 0 r-- /system/lib/libc.so f1000-f2000 0 --- f2000-f3000 1000 r-x /system/lib/libc.so f3000-f4000 2000 rw- /system/lib/libc.so That empty map was confusing the logic when looking for a global variable. Now this case is handled properly. New unit test added for this case. Bug: 147910661 Test: Ran unit tests. Test: Ran original failing test 137-cfi. Change-Id: Ida2e96d1da5e1bf61f41646949fe5a2d405c0d61
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions