Closed schrnz closed 6 years ago
We have a proof-of-concept that successfully instruments a system service during boot and ignores all other invocations of dex2oat. This is done by building AOSP with ARTist enabled and the codelib merged into services.jar by using dexterous.
Before releasing this in any meaningful way, a lot of cleanup and automation is required. Just leaving this here for the moment.
Prepare dex2oat and artist to instrument the system server during (first) boot.
This requires, e.g., that we can disable modules for all other compilations (#1), merge the codelib with those parts that we want to instrument, etc.
Affected Projects