} else {
AppInfo appInfo = AnalyzerManager.getProject().getApplicationInfo();
BinaryInfo binfo = AnalyzerManager.getProject().getDeviceStatusInfo()
- .getBinaryInfo(appInfo.getExecPath());
+ .getBinaryInfo(appInfo.getExecBinaryPath());
if (binfo.getTargetBinaryPath().equals(libName)
&& appInfo.getAppType().contains(AppInfo.APPTYPE_CAPP)) {
} else {
AppInfo appInfo = AnalyzerManager.getProject().getApplicationInfo();
BinaryInfo binfo = AnalyzerManager.getProject().getDeviceStatusInfo()
- .getBinaryInfo(appInfo.getExecPath());
+ .getBinaryInfo(appInfo.getExecBinaryPath());
if (binInfo.getID() == binfo.getID() // address belongs to c application executable
&& appInfo.getAppType().contains(AppInfo.APPTYPE_CAPP)) {
public String getPackageId() {
return properties.get(PROPERTY.PACKAGE.index);
}
-
+
public String getExecPath() {
+ return properties.get(PROPERTY.EXEC.index);
+ }
+
+ public String getExecBinaryPath() {
if (null != execPath) {
return execPath;
} else {
public boolean checkUserCall(String input) {
AppInfo appInfo = AnalyzerManager.getProject().getApplicationInfo();
BinaryInfo binfo = AnalyzerManager.getProject().getDeviceStatusInfo()
- .getBinaryInfo(appInfo.getExecPath());
+ .getBinaryInfo(appInfo.getExecBinaryPath());
if (binfo.getTargetBinaryPath().equals(input)) {
return true;
}
}
BinaryInfo binInfo = AnalyzerManager.getProject().getDeviceStatusInfo()
- .getBinaryInfo(app.getExecPath());
+ .getBinaryInfo(app.getExecBinaryPath());
String temppath = binInfo.getTempBinaryPath();
if (temppath == null) {
// this means the app binary does not exist in device
preMsg = ByteUtil.getByte(binCount);
for (AppInfo app : apps) {
- String targetPath = app.getExecPath();
+ String targetPath = app.getExecBinaryPath();
paths.add(targetPath);
preMsg = ByteUtil.getByte(preMsg, targetPath);
}