Hello,
What is the goal?
I need to instrument the Android 4.3 Dalvik Interpreter patched by TaintDroid to calculate the execution time overhead by all TaintDroid instructions.
What did I do so far?
I insert the following code between any TaintDroid statement(s) in the Android Dalvik VM source code:
start = get_time()
<TaintDroid statements>
end = end_time()
elapsed_time = end-start
Why the above code does not work?
The above code does not work for the following reasons:
What do I need to do to solve the problem?
I need to instrument the Dalvik compiler to:
1-identify the TaintDroid instructions and
2-calculate/estimate their execution times at the compile-time (not at run-time).
Does anyone know how to do that?
Thank you,
Bill