When LLDB fails to pull file from a package directory due to security constraint, user needs to set the package name to 'platform.plugin.remote-android.package-name' property to run shell commands as the package user. (e.g. to get file with 'cat' and 'dd'). https://cs.android.com/android/platform/superproject/+/master: system/core/run-as/run-as.cpp;l=39-61; drc=4a77a84a55522a3b122f9c63ef0d0b8a6a131627 Differential Revision: https://reviews.llvm.org/D152933
10 lines
356 B
TableGen
10 lines
356 B
TableGen
include "../../../../include/lldb/Core/PropertiesBase.td"
|
|
|
|
let Definition = "android" in {
|
|
def PlatformPackageName: Property<"package-name", "String">,
|
|
Global,
|
|
DefaultStringValue<"">,
|
|
Desc<"Specify package name to run adb shell command with 'run-as' as the "
|
|
"package user when necessary (e.g. to get file with 'cat' and 'dd').">;
|
|
}
|