summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorEvgeny Eltsin <eaeltsin@google.com>2019-12-17 18:54:17 +0100
committerEvgeny Eltsin <eaeltsin@google.com>2019-12-17 18:54:17 +0100
commitad865d7b3dbe0ad31418e1ca8f0ee79bccc1d529 (patch)
tree3ac308014a66736130e846c46bab62f03023335e /libc/malloc_debug/malloc_debug.cpp
parent573ddbab3f7333ba7ce95976c3531f35bead1a2a (diff)
Fix dlext.ns_anonymous test for native bridge
The executable flag might not be present for the executable segment if the code is being handled by native bridge implementation. Old heuristics for this case was to assume first segment is executable. This doesn't stand any more. Instead, look for segment that contains the function test is going to call. Test: bionic-unit-tests --gtest_filter=dlext.ns_anonymous Change-Id: I960bebba86e225d739b73f6d093e145fff17b4a8
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions