/* reject system packages */ if (userAppId < AID_APP) { panic("Package '%s' is not an application\n", pkgname); } /* reject any non-debuggable package */ if (!info.isDebuggable) { panic("Package '%s' is not debuggable\n", pkgname); }
> $NDK_PATH/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gdb ~/Android/app_process GNU gdb (GDB) 7.6 Copyright (C) 2013Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and"show warranty"for details. This GDB was configured as "--host=x86_64-linux-gnu --target=arm-linux-android". For bug reporting instructions, please see: ... Reading symbols from /home/henices/Android/app_process...(no debugging symbols found)...done. (gdb) target remote :5039 Remote debugging using :5039 warning: Could not load shared library symbols for100 libraries, e.g. /system/bin/linker. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path"or"set sysroot"? warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. 0x4013a73c in ?? ()
(gdb) info proc process 16907 cmdline = 'com.heen.CVE_2014_7911' cwd = '/' exe = '/system/bin/app_process'