Commit Graph

170 Commits

Author SHA1 Message Date
skylot
aa8a7c03c3
style: enforce strict style rules with editorconfig (PR #510) 2019-03-26 14:21:47 +03:00
Skylot
84cb6b9569 Merge branch 'master' into type-inference-wip
# Conflicts:
#	jadx-core/src/main/java/jadx/core/codegen/NameGen.java
#	jadx-core/src/main/java/jadx/core/dex/attributes/AttributeStorage.java
#	jadx-core/src/main/java/jadx/core/dex/attributes/nodes/PhiListAttr.java
#	jadx-core/src/main/java/jadx/core/dex/instructions/IndexInsnNode.java
#	jadx-core/src/main/java/jadx/core/dex/instructions/InsnDecoder.java
#	jadx-core/src/main/java/jadx/core/dex/instructions/args/ArgType.java
#	jadx-core/src/main/java/jadx/core/dex/instructions/args/RegisterArg.java
#	jadx-core/src/main/java/jadx/core/dex/instructions/args/SSAVar.java
#	jadx-core/src/main/java/jadx/core/dex/regions/conditions/IfRegion.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/ModVisitor.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/blocksmaker/helpers/BlocksPair.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/blocksmaker/helpers/BlocksRemoveInfo.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/debuginfo/LocalVar.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/regions/ProcessVariables.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/shrink/CodeShrinkVisitor.java
#	jadx-core/src/main/java/jadx/core/xmlgen/entry/EntryConfig.java
2019-03-24 12:38:20 +03:00
Skylot
e1f4955286 Merge branch 'master' into type-inference-wip
# Conflicts:
#	jadx-cli/src/main/java/jadx/cli/JadxCLIArgs.java
#	jadx-core/src/main/java/jadx/core/Jadx.java
#	jadx-core/src/main/java/jadx/core/dex/attributes/AFlag.java
#	jadx-core/src/main/java/jadx/core/dex/attributes/AType.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/regions/LoopRegionVisitor.java
#	jadx-core/src/main/java/jadx/core/dex/visitors/regions/RegionMakerVisitor.java
#	jadx-core/src/test/java/jadx/tests/api/IntegrationTest.java
#	jadx-core/src/test/java/jadx/tests/functional/TypeMergeTest.java
#	jadx-core/src/test/java/jadx/tests/integration/TestFloatValue.java
#	jadx-core/src/test/java/jadx/tests/integration/TestStringBuilderElimination2.java
#	jadx-core/src/test/java/jadx/tests/integration/arith/TestArith.java
#	jadx-core/src/test/java/jadx/tests/integration/arith/TestFieldIncrement2.java
#	jadx-core/src/test/java/jadx/tests/integration/arrays/TestArrays3.java
#	jadx-core/src/test/java/jadx/tests/integration/arrays/TestArrays4.java
#	jadx-core/src/test/java/jadx/tests/integration/conditions/TestTernary2.java
#	jadx-core/src/test/java/jadx/tests/integration/debuginfo/TestReturnSourceLine.java
#	jadx-core/src/test/java/jadx/tests/integration/generics/TestGenerics2.java
#	jadx-core/src/test/java/jadx/tests/integration/inline/TestInlineInLoop.java
#	jadx-core/src/test/java/jadx/tests/integration/invoke/TestCastInOverloadedInvoke.java
#	jadx-core/src/test/java/jadx/tests/integration/loops/TestArrayForEach2.java
#	jadx-core/src/test/java/jadx/tests/integration/loops/TestIndexForLoop.java
#	jadx-core/src/test/java/jadx/tests/integration/names/TestNameAssign2.java
#	jadx-core/src/test/java/jadx/tests/integration/switches/TestSwitchBreak.java
#	jadx-core/src/test/java/jadx/tests/integration/trycatch/TestFinallyExtract.java
#	jadx-core/src/test/java/jadx/tests/integration/trycatch/TestTryCatchFinally8.java
2019-03-24 12:19:19 +03:00
Ahmed Ashour
11cee083ba style: use character instead of string, for better performance (PR #503) 2019-03-24 10:05:26 +03:00
Ahmed Ashour
d111fd0680 feat: add a flag to disable debug info (#276) (PR #502) 2019-03-23 10:35:00 +03:00
Ahmed Ashour
b65c386b6a test: migrate all assertions to JUnit5 (PR #496) 2019-03-22 20:37:20 +03:00
Ahmed Ashour
16b6345c7f test: migrate to JUnit 5 (PR #493) 2019-03-22 17:36:13 +03:00
Ahmed Ashour
dd2e7e879b fix: add missing import for class generics map (PR #480)
* Fix missing import for class Generics map.
* Add import only when needed (in non-inner class declaration)
* Remove unneeded import
2019-03-21 17:11:56 +03:00
Skylot
0df5aa80fe refactor(cli): add missing generic for JCommanderWrapper 2019-02-26 20:12:40 +03:00
skylot
8c7140d6b8
fix: change not allowed access modifiers for methods (#387) (PR #439)
Fix visibility access modifies for methods (see discussions in #370 and #387):
    * all virtual methods become public
    * direct methods become private (instead constructors and static methods for now)
    * such modifications perform by default and can be disabled by the option in preferences (`--respect-bytecode-access-modifiers` in jadx-cli)
    * if changed to method added comment (`Access modifiers changed, original: private`)
2019-02-11 14:56:03 +03:00
Skylot
6b3e8f083c fix(gui): override settings by cmd options 2018-10-29 18:42:17 +03:00
Skylot
0c041120f6 core: show all decompilation errors in code comments (#313) 2018-08-23 23:16:36 +03:00
Skylot
eb2e5e3da5 cli: set lower java starting heap size 2018-08-15 16:02:29 +03:00
Skylot
9a4e8bdb48 set default deobfuscation min length to 3 (#332) 2018-08-15 15:29:43 +03:00
Skylot
7b4321ecee gui: fix build for java 10 and update dependencies (#291) 2018-06-02 19:47:18 +03:00
Skylot
6d984c0407 gui: update default settings 2018-05-26 20:41:54 +03:00
Skylot
0e4c8df418 cli: print default value for number options 2018-04-22 20:06:21 +03:00
Skylot
23553c9944 cli: fix missing spaces in help 2018-04-01 14:01:55 +03:00
Skylot
8446d016e4 cli: update jcommander lib 2018-02-13 15:31:49 +03:00
Skylot
ab040d36d5 update all dependencies (#229) 2018-02-13 14:58:27 +03:00
Skylot
948f9456f5 core: change jadx args api for easier processing and validation 2018-02-10 21:32:51 +03:00
unknown
cc2ae80e7b Issue #204 2018-01-15 19:35:30 +03:00
sergey-wowwow
b921f6097d
Update JadxCLIArgs.java 2018-01-14 21:47:37 +03:00
Sergey Toshin
5d60f2cdf2 PR for issue #191 2018-01-14 21:04:28 +03:00
Skylot
d586c84b56 reformat code and fix sonar warnings 2018-01-02 21:26:43 +03:00
Skylot
118fa98ca9 gui: fix incorrect settings loading 2018-01-02 15:24:13 +03:00
Mingyuan Xia
6870c05ffa increase cli heap usage as well 2017-04-10 13:13:04 +08:00
Skylot
b2f41e95bf core: export as android gradle project 2016-03-27 15:28:06 +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
43592c3e49 gui: improve memory usage (#79)
- don't use suffix tree in search
- decrease default working threads count (only 1 for background jobs)
- use string refs for store only one code string without duplicates
- use cache for creating UI nodes
- allow to disable autostart for background jobs (decompilation and index)
2015-08-09 12:29:33 +03:00
Skylot
129a7c39af gui: add log viewer 2015-05-31 17:11:46 +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
Skylot
2f548dd9eb core: fix help for jadx-gui, improve code 2015-04-06 22:30:48 +03:00
Skylot
229d78f1ef gui: add preferences dialog 2015-03-14 20:35:37 +03:00
Skylot
f770e4ef42 add full license text file 2015-03-14 19:18:59 +03:00
Skylot
99d831c498 core: use source file information for deobfuscation, fix code style issues 2015-03-08 17:37:24 +03:00
NeoSpb
30138f7a38 core: added deobfuscation feature (basic functionality) 2015-02-10 20:37:12 +03:00
Skylot
99d9814083 don't use concatenation in logger, fix other small code style issues 2015-02-07 17:58:19 +03:00
Skylot
07cef6fd62 update dependencies versions 2015-01-31 14:28:01 +03:00
Skylot
3700ecb717 core: add resources methods to jadx API 2015-01-02 20:46:44 +03:00
Skylot
b55975a35a core: reformat code and fix small issues in BinaryXMLParser 2014-12-23 23:27:50 +03:00
YASME-Tim
aacb83290e Added option flag to make androidmanifest.xml decompiling optional. 2014-12-22 22:11:04 +01:00
YASME-Tim
6ddb0036fa Added style decoding and a first decoding for data type 17. 2014-12-22 13:36:10 +01:00
YASME-Tim
0f7ca8cea4 Added a whitespace before oneLiner ends. 2014-12-22 11:56:06 +01:00
YASME-Tim
c4367e25a9 Removed call in main method. 2014-12-22 00:44:29 +01:00
YASME-Tim
e081aadd27 Added xml header 2014-12-22 00:44:02 +01:00
YASME-Tim
824db6be2b Removed BinaryXMLParser Call in main method. 2014-12-22 00:15:30 +01:00
YASME-Tim
c242a62bcc Write xml to a given output file instead of stdout. 2014-12-21 23:26:02 +01:00
YASME-Tim
e01789bb0d Added first implementation of the AndroidManifest XML Parser 2014-12-21 22:05:44 +01:00
Skylot
13a6b1c8c6 core: add 'show inconsistent code' parameter 2014-09-20 13:43:55 +04:00
Skylot
7e9278f992 don't hardcode maximum Java heap size 2014-08-15 22:39:34 +04:00
Skylot
c97678a477 refactor: make ErrorsCounter non static 2014-08-05 22:48:31 +04:00
Skylot
f8d57d9265 core: decompile '.class' files 2014-07-15 23:45:25 +04:00
Skylot
b67cd50e8a gui: add definitions search window 2014-06-14 19:38:24 +04:00
Skylot
42eb319751 fix issues reported by Coverity 2014-05-12 22:08:33 +04:00
Skylot
7669fa1582 update dependencies, add coveralls badge 2014-05-12 22:08:33 +04:00
Skylot
9cd72fe1e9 update dependencies version 2014-03-09 17:02:19 +04:00
Skylot
3c84975a09 fix code style issues 2014-02-22 18:54:51 +04:00
Skylot
e54b764588 fix code style issues reported by sonar 2013-12-07 16:11:12 +04:00
Skylot
6bc2d3321c code refactoring 2013-09-25 18:07:14 +04:00
Skylot
4c03a4245b improve jadx api 2013-09-08 16:51:17 +04:00
Skylot
7742d34111 decrease memory requirements 2013-09-04 23:23:16 +04:00
Skylot
ab8fa23fc3 cli: move specific code from common jadx args 2013-08-10 22:52:06 +04:00
Skylot
1f21760bbe rename jadx-cli, update build scripts 2013-07-27 15:43:07 +04:00
Skylot
67eb55a95d gui: add type and access info to classes tree 2013-07-26 23:04:42 +04:00
Skylot
ca2c935f65 gui: don't create output directory on startup 2013-07-24 17:40:55 +04:00
Skylot
7096c38299 fix gradle scripts, update readme 2013-07-24 17:40:49 +04:00
Skylot
7eb5defc2a Update gradle build files 2013-07-10 23:47:45 +04:00
Skylot
ce7d6f0156 Add jadx-gui, restructure src directory 2013-07-10 22:57:39 +04:00