Description
List of all command execution API calls
Recommendation
This entry is informative, no recommendations applicable.
Technical details
Method com.ofss.fcdb.mobile.android.b.c.f.e()
calling method java.lang.Runtime.exec()
private static boolean e()
{
int v0_0 = 1;
try {
String v3_3 = Runtime.getRuntime();
java.io.InputStreamReader v4_3 = new String[2];
v4_3[0] = "/system/xbin/which";
v4_3[1] = "su";
Process v2 = v3_3.exec(v4_3);
try {
if (new java.io.BufferedReader(new java.io.InputStreamReader(v2.getInputStream())).readLine() == null) {
if (v2 != null) {
v2.destroy();
}
v0_0 = 0;
return v0_0;
} else {
if (v2 == null) {
return v0_0;
} else {
v2.destroy();
return v0_0;
}
}
} catch (int v0) {
int v0_1 = v2;
if (v0_1 != 0) {
v0_1.destroy();
}
v0_0 = 0;
return v0_0;
}
} catch (int v0) {
v0_1 = v2;
} catch (int v0_2) {
if (v2 != null) {
v2.destroy();
}
throw v0_2;
}
}