Info Call to command execution API

Description

List of all command execution API calls

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.rudraum.rudraumThumb2Thief.stuff.Util.grabLogcat() calling method java.lang.Runtime.exec()


    private static String grabLogcat()
    {
        try {
            String v1_0 = new java.io.BufferedReader(new java.io.InputStreamReader(Runtime.getRuntime().exec("logcat -d").getInputStream()));
            String v0_2 = new StringBuilder();
            String v2_1 = System.getProperty("line.separator");
        } catch (String v0_4) {
            android.util.Log.w(com.rudraum.rudraumThumb2Thief.stuff.Util.TAG, "IOException when trying to read logcat.", v0_4);
            return "Exception grabbing logcat";
        }
        while(true) {
            String v3 = v1_0.readLine();
            if (v3 == null) {
                break;
            }
            v0_2.append(v3);
            v0_2.append(v2_1);
        }
        return v0_2.toString();
    }