Daniel Ramos
bf3863d1bf
Fixed issue where deobfuscated classes,methods,and fields were not being commented with their original name.
2017-04-30 21:23:19 -04:00
Daniel Ramos
94e9291c40
Fixed issue where postProcess may overwrite Deobfuscated method names.
...
The function will now check if the method name was aliased by Deobfuscation and if so it will use that name for all the overriden methods. Note: If the deobfuscation file contains two names for the same overriden method in two related Classes then the name that "wins" is non-deterministic.
2017-04-30 21:22:59 -04:00
Daniel Ramos
459d133b5d
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.
2017-04-30 13:34:21 -04:00
Daniel Ramos
773fad66bb
Fix issue where name generation on variables of deobfuscated objects were sometimes based off of the original class name, and not the alias.
2017-04-29 15:26:07 -04:00
Daniel Ramos
e250c73109
Fix issue with inner classes and empty package name.
2017-04-29 15:18:41 -04:00
Skylot
a9ae971602
build: remove gradle plugins, update gradle to 2.14.1 ( #145 )
2016-12-22 11:54:56 +03:00
Skylot
b2f41e95bf
core: export as android gradle project
2016-03-27 15:28:06 +03:00
Skylot
e733c91783
gui: support images view/unpack
2016-03-26 17:19:54 +03:00
Skylot
4e982722a5
core: fix incorrect package for R class ( #99 )
2016-03-19 22:55:57 +03:00
Skylot
2b1f815c58
core: refactor streams closing
2016-03-19 19:14:24 +03:00
Skylot
0fff1a6754
core: fix warning from dx library
2016-03-19 18:21:52 +03:00
Skylot
d95d268ec5
core: test enum implementing interface
2016-03-19 16:21:32 +03:00
Skylot
5f302238ad
core: allow to disable constant dereference ( #106 )
2016-03-13 12:43:24 +03:00
Skylot
218c39b1ec
core: option for control escaping of unicode characters ( #103 )
2016-03-07 19:25:57 +03:00
Skylot
e915f4fcd7
core: show missing class references only once
2016-01-31 15:20:07 +03:00
Skylot
bc9164b952
core: refactor file loading, add 'aar' support ( fix #95 )
2015-12-26 19:16:05 +03:00
Skylot
7c34be267f
res: fix escape for apostrophes and quotes in string resources
2015-11-15 16:20:57 +03:00
Nizam Moidu
cf68e4722a
multidex support for apk & zip
2015-11-11 12:22:47 +04:00
Skylot
ef8a685621
resources: initial version of .arsc file decode
2015-10-09 21:41:38 +03:00
Skylot
e4fef402c9
resources: don't check type chunk header size ( fix #89 )
2015-09-25 22:58:54 +03:00
Skylot
5528afa404
core: fix type inference for filled array ( #87 )
2015-09-23 22:34:32 +03:00
Skylot
7b70d617e0
core: fix variables inline ( #86 )
2015-09-19 16:31:08 +03:00
Skylot
261ba4645d
resources: support text chuck in binary xml ( fix #84 )
2015-09-16 21:23:55 +03:00
Skylot
2ab7524e71
core: better args class
2015-09-08 21:29:41 +03:00
Skylot
d55969bc65
core: fix some 'try/catch/finally' cases
2015-09-05 20:55:37 +03:00
Skylot
9976894091
core: skip decoding for plain text xml ( fix #82 )
2015-08-29 15:50:42 +03:00
Vladislav Bauer
0d93d335a1
Fix console warnings during compilation (gradle build)
2015-08-28 20:15:51 +06:00
NeoSpb
5dd82eede9
core: fix deobfuscation when class is in the root package (package path is empty)
2015-08-14 16:15:10 +03:00
Skylot
b46093b3cc
core: add method info cache
2015-08-09 12:12:17 +03:00
Skylot
2b9c092705
core: fix field initialization extract from try/catch block ( fix #78 )
2015-08-01 21:57:30 +03:00
Skylot
bc73010d4e
gui: add find usage feature, run decompilation and index jobs in background ( #74 , #75 )
2015-07-26 18:06:26 +03:00
Skylot
2d8d416483
core: add cache for JavaNodes, fix definition annotations
2015-07-26 17:19:08 +03:00
Skylot
5a24eac375
core: fix exit node search for synchronized block ( fix #72 )
2015-07-04 15:20:15 +03:00
Skylot
a684118dbb
core: move field initialization from constructors if possible ( #71 )
2015-07-01 23:01:54 +03:00
Skylot
a324376e60
core: replace assertions with jadx exceptions throw
2015-06-27 21:15:57 +03:00
Skylot
04e50afaba
core: fix synthetic method inline ( fix #71 )
2015-06-27 18:27:43 +03:00
Skylot
69494c9212
core: add method for copy instruction nodes
2015-06-27 18:27:38 +03:00
Skylot
b2f0f02541
core: fix incorrectly removed 'return' in 'switch' block ( fix #70 )
2015-06-26 21:30:51 +03:00
Skylot
71f249113d
core: allow to skip sub-blocks for region visitor.
2015-06-26 21:26:08 +03:00
Skylot
1d84c00161
core: fix 'break' in complex 'if' in loop ( fix #67 )
2015-06-14 15:57:37 +03:00
Skylot
5bc7e19a28
core: don't show rename comment if class name not changed
2015-06-04 20:50:25 +03:00
NeoSpb
53ac3ec582
core: fix deobfuscation for overridden methods (make identical name ('mo{index}')
...
for overridden methods, older 'jobf' file must be removed)
2015-05-18 21:03:53 +03:00
NeoSpb
d2d43711c2
Make optional using source file name as alias for class name (some obfuscator
...
set the source file property with wrong value and break deobfuscation)
default: disabled
2015-05-18 21:03:51 +03:00
NeoSpb
510035b7b7
core: fix used name/path to the deobfuscation map file
...
(used the same name/path as the APK file, but extension 'jobf')
2015-05-18 21:03:50 +03:00
Skylot
78b39a60e8
core: fixed invoke arguments list ( fix #61 )
2015-05-11 20:33:16 +03:00
Skylot
932966b6b8
core: skip synthetic arguments in anonymous class constructor
2015-05-02 20:53:22 +03:00
Skylot
85a18e6d75
core: don't insert break in method exit blocks ( fix #60 )
2015-05-02 20:29:15 +03:00
Skylot
5d86bf9788
core: fix loop processing after exception handler remove ( fix #59 )
2015-05-02 17:51:15 +03:00
Skylot
406d9878d8
core: fix invoke args skipping
2015-04-26 15:03:23 +03:00
Skylot
4e6c5cb27a
core: inline anonymous classes with arguments
2015-04-25 21:40:03 +03:00