[Android] Warning linker with memcheck library
"$rik@nth" <[email protected]> Wed, 12 Oct 2022 11:10:31 +0530
| Newsgroups | gmane.comp.debugging.valgrind |
|---|---|
| Message-ID | <CANKSX+HbNvCNhtc5tQFMFi7=kh+ePqFCxpabjO9wBeOd-RPswA@mail.gmail.com> |
Dear Valgrind Users, I am trying to use valgrind on an Android device running version 12 to debug some issue in the application. I am facing two issues here. 1. Valgrind reporting below warnings. Does this mean no track of malloc/free etc..? WARNING: linker: Warning: "/data/local/tmp/Inst/libexec/valgrind/vgpreload_core-arm64-linux.so" has unsupported flags DT_FLAGS_1=0x421 (ignoring unsupported flags) WARNING: linker: Warning: "/data/local/tmp/Inst/libexec/valgrind/vgpreload_memcheck-arm64-linux.so" has unsupported flags DT_FLAGS_1=0x421 (ignoring unsupported flags) 2. How to launch an android application through valgrind. I am getting command used `/data/local/tmp/Inst/bin/valgrind --tool=memcheck --leak-check=full am start -a android.intent.action.MAIN -n org.codeaurora.dialer/com.android.dialer.main.impl.MainActivity` /system/bin/am[9]: /system/bin/cmd: Bad address Please advise anyone who come across this issue and how to resolve this issue. -- Thanks & Regards, M.Srikanth Kumar. _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users