• Daniel Ramos's avatar
    Fixed issue where renamed classes/methods referenced in a different dex file... · 459d133b
    Daniel Ramos authored
    Fixed issue where renamed classes/methods referenced in a different dex file would not be renamed properly. Deobfuscation only modified the Class info for the InfoStorage of the Dex file the class belonged to. If a class in another Dex file referenced it, it would not know of the rename.
    
    This commit moves InfoStorage to the RootNode. This allows all classes to know of each other regardless of the Dex file. A dexId field was added to the DexNode class to allow the the MethodInfo.fromDex function to continue to use method index to locate methods. The getMethod and putMethod functions in InfoStorage was modified to take a DexNode. The DexNode id is used to create a unique key used for the lookup into the methods HashMap.
    459d133b
Name
Last commit
Last update
gradle/wrapper Loading commit data...
jadx-cli Loading commit data...
jadx-core Loading commit data...
jadx-gui Loading commit data...
jadx-samples Loading commit data...
jadx-test-app Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
build.gradle Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...
version Loading commit data...