Skylot
58e8268126
fix: workaround to make method inline deterministic ( #1089 )
2024-08-04 22:46:46 +01:00
Skylot
821cc668c7
fix: don't rerun SSA transform in ConstructorVisitor ( #2236 )
2024-08-02 21:26:25 +01:00
pubiqq
115e563a2b
fix: improve checking if methods are inline for FixAccessModifiers (PR #2235 )
2024-08-01 21:45:52 +01:00
pubiqq
61855a7ea1
fix: make detailed var info deterministic (PR #2231 )
2024-07-31 22:16:07 +01:00
Skylot
c179beee95
chore: update dependencies
2024-07-28 20:57:37 +01:00
Skylot
04a454094b
fix: improve exception handlers checks ( #2086 )
2024-07-27 22:09:14 +01:00
Skylot
ad4dd116be
chore: update gradle and dependencies
2024-07-19 00:19:47 +03:00
Iscle
05fb77e9bd
feat(gui): add button to go to Application class ( #2208 )(PR #2213 )
...
* feat: Add button to go to Application class
Icons from: https://intellij-icons.jetbrains.design/
* fix: Rename "goto" to "go_to" to keep things consistent
2024-07-08 18:36:45 +01:00
Jan S
96bd9f0f17
fix(xml): AXML/Manifest parsing improvements (PR #2211 )
...
* log and ignore decodeValue errors
* skip extra data in package header
* ResourceTypes.h
2024-07-06 19:27:47 +03:00
qfalconer
fd5b397b40
fix(xml): allow for non-standard attributes sizes and avoid index exceptions when decoding some strings (PR #2210 )
...
More lenient AXML parsing: allow for non-standard attributes sizes and avoid index exceptions when decoding some strings
* The attributes size of an XML element is now accounted for. This size must be at least 20 (0x14) bytes but can be greater. Extra bytes are just skipped. When decoding a string, if such decoding is impossible a placeholder string is returned instead of throwing an exception. This is necessary because some malware purposely add android:tag attributes with invalid string index to throw parsers off. They also employ non-standard attribute sizes.
* Minor code restyling
---------
Co-authored-by: qfalconer <knm241@gmail.com >
2024-07-03 18:50:15 +01:00
Andrei Kudryavtsev
b85900aa3d
feat: move AAB support to separate plugin (PR #2165 )
...
* wip: finished with factories
* wip: bundleconfig.pb
* wip: jadx-aab-input, separate BundleConfig parser
* wip: removed test apks
* wip: proto xml pretty print
* wip: fixed getNamedValues NPE
* minor fixes
* spotless
* enabled zip64 for gui shadow jar
* spotless
* spotless
* reverted manifest identification since signature parsing not working at the moment
* replace static methods with new API methods
---------
Co-authored-by: Skylot <118523+skylot@users.noreply.github.com >
2024-04-26 21:54:54 +01:00
Skylot
b80f32a36f
fix(smali-input): compile one smali file at a time to avoid 64k limit ( #2158 )
2024-04-23 22:14:59 +01:00
Skylot
f2ea6415c9
fix(cli): don't print stacktrace for incorrect options ( #2140 )
2024-04-20 18:06:30 +01:00
Skylot
bc70f8eabb
fix: use correct new line string for simple code writer
2024-04-20 17:37:45 +01:00
Skylot
be25cbf8c2
fix: use common parser for manifest, verify app package
2024-04-20 17:37:45 +01:00
Skylot
b356ff76e1
fix: improve StringBuilder elimination ( #2148 )
2024-04-19 20:14:25 +01:00
Skylot
6182332eef
fix: avoid self-loop for exception handlers ( #2147 )
2024-04-11 23:07:45 +03:00
Skylot
37b57096ec
fix: allow use FieldInfo as switch key ( #2147 )
2024-04-11 23:07:44 +03:00
Skylot
6aab8fabc9
chore: update dependencies
2024-04-11 23:07:41 +03:00
Skylot
6e8affcbdc
feat: add options to JadxArgs to change code new line and indent ( #1945 , #1948 )
2024-04-08 21:51:24 +01:00
Skylot
41d6b0018e
fix: add missing " * " on new line for block comments, flip addCodeComment args ( #2145 )
2024-04-08 21:34:34 +01:00
Skylot
dbadbb01fc
refactor: rename method collectArgsWithoutLoading into collectArgNodes in MethodNode ( #2142 )
2024-04-07 23:09:02 +01:00
Skylot
0f52077c5c
feat: allow to set style for code comments ( #2145 )
2024-04-07 23:06:32 +01:00
Skylot
ea861829c7
fix: support end block entry for mutli-entry loops ( #889 )
2024-04-06 22:49:32 +01:00
Skylot
c1de235289
fix: in anonymous class checks ignore instance fields not used outside
2024-04-06 22:45:30 +01:00
Skylot
8f969d4e89
chore: update gradle and dependencies
2024-04-03 21:03:48 +01:00
Skylot
0c1f830f94
fix: lambda decoding and code generation ( #2139 )
2024-04-03 21:03:48 +01:00
Skylot
43c082e4da
feat: replace Android resource ids with android.R fields ( #2119 )
2024-03-31 20:37:33 +01:00
Skylot
ecdc4e6757
refactor: move constant collection into separate pass ( #2119 )
2024-03-30 21:51:02 +00:00
Skylot
b865c9c687
refactor: allow store unresolved fields in ConstStorage ( #2119 )
2024-03-30 20:52:31 +00:00
Skylot
2807dc5090
fix(script): add example script for resources rename ( #2126 )
2024-03-20 18:46:44 +00:00
Skylot
463d2b90fa
fix: don't apply node positions and prevent eager loading for custom decompile modes ( #2116 )
2024-03-19 20:23:04 +00:00
Skylot
bff00d101f
fix(script): add option flags, fix missing script options in help
2024-03-19 20:22:50 +00:00
Skylot
49d2b34d84
chore: update dependencies
2024-03-16 21:58:00 +03:00
CKCat
eecdfae73f
fix(res): resolve some manifest decode errors (PR #2122 )
...
* The elementSize may be larger than the actual size of the element chunk.
* end namespace chunk size can be any value.
* keep at least a warning.
2024-03-16 18:57:10 +00:00
bagipro
2fdd496518
fix(res): add indents for namespace declarations (PR #2114 )
...
Co-authored-by: bagipro <bugi@bugi>
2024-03-01 16:32:47 +00:00
bagipro
278e3c2d47
fix(res): avoid duplicated XML attributes (PR #2112 )
...
Co-authored-by: bagipro <bugi@bugi>
2024-02-27 18:49:09 +00:00
bagipro
881a716b8e
fix(res): fixed XML proto parsing for removed debug data (PR #2111 )
...
* Fixed XML proto parsing for removed debug data
* Fixed codestyle check
---------
Co-authored-by: bagipro <bugi@bugi>
2024-02-27 17:34:37 +00:00
Skylot
d51362ed50
fix: don't remove exception handlers ( #2104 )
2024-02-19 20:18:44 +00:00
Skylot
603ea3989a
chore: update dependencies
2024-02-16 17:41:37 +00:00
nitram84
5fbabdefca
fix: NPE in unused EcxHandler block removal code ( #2086 ) (PR #2104 )
2024-02-15 17:57:30 +00:00
nitram84
13607fc8b6
fix(res): add missing namespace declarations (PR #2102 )
...
* fix(res): add missing namespace declarations
* remove `writer.getIndent() == 0`
---------
Co-authored-by: skylot <118523+skylot@users.noreply.github.com >
2024-02-15 17:56:39 +00:00
DanielFi
0c33d723c8
fix: optimize switch fallthrough (PR #2054 )
...
* cache post dom map between switch cases
* cache post dom map of whole methods
* calculate full post dom tree, fix switch out block detection
---------
Co-authored-by: Skylot <skylot@gmail.com >
2024-02-14 18:31:38 +00:00
Skylot
0143423dc9
fix: use empty line before field in correct place ( #2101 )
2024-02-12 15:39:41 +00:00
Skylot
ecb8abb98e
fix: correct rollback if type update failed ( #2090 )
2024-02-10 16:08:51 +00:00
Skylot
a3a4fabd5a
fix: store classes access flags in class set
2024-02-07 22:10:31 +03:00
Skylot
edf6ce273c
fix: clear node flags for custom decompilation mode
2024-02-06 21:54:41 +03:00
Away
276ee537e1
fix: remove unused ExcHandlers blocks (PR #2086 )
...
* Removing unused ExcHandlers blocks
* Improving removing unused ExcHandlers blocks
* Removing gradlew of the commit
* Adding test 2 for UnreachableCatch
* Update jadx-core/src/test/java/jadx/tests/integration/trycatch/TestUnreachableCatch2.java
---------
Co-authored-by: Away-pp <vladimir@DESKTOP-KESF23K>
Co-authored-by: skylot <118523+skylot@users.noreply.github.com >
2024-02-04 18:02:34 +00:00
Skylot
1a07ab8ab1
chore: update dependencies
2024-01-25 20:10:39 +00:00
Skylot
d86449a8ea
fix(res): ignore resource table entries with '../' in name
2024-01-25 20:09:21 +00:00