On Aug 3, 8:45 pm, profect <[email protected]> wrote: > I am reading the related files in depth. "entry point" may not be a precise > term. I mean the place where process 1 forks another process, process 2. > Process 2 calls exec to load and run dexopt to optimize a zip file. I didn't > find this kind of place. Does anyone know?
The caller of dvmOptimizeDexFile() is responsible for extracting "classes.dex" from the zip/jar/apk file before calling in. When you specify "--zip" to dexopt, the extractAndProcessZip() function handles extraction of the DEX file. There's a comment at the start of dalvik/dexopt/OptMain.c that describes the two ways of getting there. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
