dpnishant / appmon

Documentation:
http://dpnishant.github.io/appmon
Apache License 2.0
1.56k stars 276 forks source link

Please add trace code to each metod call #49

Closed ChD1 closed 6 years ago

ChD1 commented 7 years ago

Hi, good work. but it woud be great if you add somesing like getStackTrace for each function and metod call something like this:

function trace() {
    var Log = Java.use("android.util.Log");
    var Exception = Java.use("java.lang.Exception");
    var ret = "";
    try
    {
        throw Exception.$new("Trace");
    }catch(e){
        ret = (Log.getStackTraceString(e));
    }
    return ret;
}
dpnishant commented 6 years ago

@ChD1 What is your goal for requesting this? Can you please explain what information do you want to get out of this and its use?

ChD1 commented 6 years ago

I already implemented it by myself. Everything is very simple. When researching and modifying APK, it is sometimes very useful to know from where the required method was called. Like in your android_tracer.py script.

dpnishant commented 6 years ago

That's cool! Would you, by any chance, be interested in contributing back to this project, for others to use? 😊

On Sun, Oct 8, 2017 at 12:35 PM ChD1 notifications@github.com wrote:

I already implemented it by myself. Everything is very simple. When researching and modifying APK, it is sometimes very useful to know from where the required method was called. Like in your android_tracer.py script.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/dpnishant/appmon/issues/49#issuecomment-335032158, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRxFblLAiujIU32utDcpL2kXrG8II8hks5sqSQMgaJpZM4PTsqI .

-- Sent from my iPhone

dpnishant commented 6 years ago

Closing as no further action is planned.