Commit Graph

1530 Commits

Author SHA1 Message Date
Jan S.
fe9d3bcab7
fix(res): allow jumping backwards to an already processed position (PR #2344)
Use buffered stream to allow going backwards in stream in case the type chunk entries are not ordered properly (see #2343).
2024-11-15 15:12:47 +00:00
Skylot
1e1036c049
fix: disable usage of JDK Unsafe class in GSON (#2341)
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
2024-11-13 18:28:04 +00:00
Skylot
f0513a1a55
fix: insert new filled array insn before first usage (#2340)
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
2024-11-07 20:02:41 +00:00
Skylot
be6cb573b1
feat(plugins): allow to set minimum required jadx version in plugin info (#2314)
Some checks are pending
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
2024-11-06 16:30:22 +00:00
pubiqq
5d064d3e50
feat(res): improve resource names (PR #2316)
Some checks are pending
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
2024-11-06 18:08:35 +03:00
pubiqq
15b6309e2c
fix: support "fall-through to default" case in switch-over-string (PR #2338)
Some checks are pending
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
2024-11-05 21:41:03 +00:00
Skylot
417bb7a7e9
feat: add method to update all blocks related info in method (#2335)
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
2024-11-02 22:08:26 +00:00
Ahmet Bilal Can
4c74e8e300
feat: give ability to plugins to edit blocks before locking (PR #2336)
Plugins can use `.before('BlockFinisher')` to edit blocks before they are locked.
2024-11-02 21:38:57 +00:00
Skylot
57238de6ff
feat(cli): add option to disable plugins (#2277)
Some checks are pending
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
2024-11-01 20:13:34 +00:00
Skylot
313c4a121a
fix: improve negation condition checks for switch over string (#2333) 2024-11-01 16:33:28 +00:00
pubiqq
39912398fc
fix: unwrap consts in switch-over-string (PR #2332)
Some checks failed
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Has been cancelled
2024-10-31 21:24:19 +00:00
Skylot
7544d1a113
fix: prevent endless loop in pre header insertion mod (#2300) 2024-10-31 20:00:06 +00:00
pubiqq
cfbe5ab672
fix: fix default branch position in switch-over-string (PR #2331) 2024-10-31 19:58:35 +00:00
Skylot
cc6a893402
feat: allow to disable installed plugins (#2277) 2024-10-28 23:35:28 +03:00
pubiqq
4d8a5d6671
fix(core): fix primitive-to-primitive conversions (PR #2326)
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
2024-10-28 20:33:10 +00:00
pubiqq
6fa5d247f0
fix(res): update Android attrs to API 35 (PR #2318) 2024-10-25 18:08:36 +01:00
pubiqq
688dea0c50
fix(deobf): update TLDs (PR#2320) 2024-10-25 16:44:07 +01:00
Skylot
3d5e225274
fix: clear temp root dir instead delete (#2312) 2024-10-22 18:01:52 +01:00
Skylot
249801880c
feat(api): allow to get method code (#2305) 2024-10-17 19:20:07 +01:00
Skylot
548821c4df
build: allow to change java toolchain for build and tests 2024-10-16 16:54:28 +01:00
pubiqq
958ab245ae
fix(res): don't rename resource entries when useRawResName = true (PR #2306)
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
2024-10-14 20:32:12 +01:00
Skylot
8f3cc3e8c1
fix: add missing null check in codegen for classes generated by jadx 2024-10-14 19:19:31 +01:00
Skylot
b872ffd1b9
fix: replace patched zip early in input files (#2302)
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
2024-10-12 20:53:09 +01:00
pubiqq
1475e887c8
fix: update reserved keywords (PR #2301)
Some checks are pending
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
Validate Gradle Wrapper / Validation (push) Waiting to run
2024-10-11 20:47:34 +01:00
Skylot
c21cabcba7
fix: use temp dir env var only in apps
Some checks failed
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Validate Gradle Wrapper / Validation (push) Waiting to run
CodeQL / Analyze (java) (push) Has been cancelled
2024-10-10 22:57:40 +03:00
Skylot
063af8cd62
feat(api): add JadxArgs property to adjust xml security checks (#2291) 2024-10-10 22:57:40 +03:00
pubiqq
3814951408
feat: improve better name algorithm (PR #2299)
Some checks are pending
Build Artifacts / build (push) Waiting to run
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (ubuntu-latest) (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
Validate Gradle Wrapper / Validation (push) Waiting to run
2024-10-10 20:01:57 +01:00
qfalconer
964bd62d35
feat: adding automatic patching for semi-corrupted APKs (PR #2298)
* feat: patching semi-corrupted APKs

* fix: using secure temp file creation

* fix: using TWR when handling the files
2024-10-10 17:53:26 +01:00
Skylot
b26abdc851
feat(plugins): get config and cache dirs for plugins
Some checks failed
Build Artifacts / build (push) Has been cancelled
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (ubuntu-latest) (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Has been cancelled
Validate Gradle Wrapper / Validation (push) Has been cancelled
2024-09-29 21:55:05 +01:00
Skylot
90185fd947
feat(plugins): get a main window reference as JFrame 2024-09-29 21:54:24 +01:00
Skylot
681f8a98b5
fix: improve checks for restore new filled array (#2289) 2024-09-28 16:52:08 +01:00
Skylot
0b225238fb
feat: support restore of switch over string (basic case)(#2288) 2024-09-27 21:11:38 +01:00
pubiqq
b5e3dcf70f
feat: add the option to always use source file name as class name alias (PR #2287) 2024-09-23 22:47:08 +01:00
Skylot
7abbc81886
fix: improve switch out block search if all method exits are inside (#2264)
Some checks failed
Build Artifacts / build (push) Failing after 1s
Build Test / tests (ubuntu-latest) (push) Failing after 1s
CodeQL / Analyze (java) (push) Failing after 1s
Validate Gradle Wrapper / Validation (push) Failing after 1s
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
2024-09-22 21:35:40 +01:00
Skylot
9c30aeacdb
refactor: split region maker 2024-09-22 20:23:03 +01:00
Skylot
e6fde48b69
fix: don't add same 'loaded from:' comment for inner classes 2024-09-21 20:28:18 +01:00
Skylot
109dea0857
feat: support inner class contruction with outer instance (#2253) 2024-09-21 20:27:16 +01:00
Skylot
1d34328dd3
fix(build): disable cache for core tests to allow reruns (#2283)
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 1s
Build Test / tests (ubuntu-latest) (push) Failing after 1s
CodeQL / Analyze (java) (push) Failing after 1s
Validate Gradle Wrapper / Validation (push) Failing after 1s
2024-09-20 21:44:55 +01:00
Skylot
ef4f1d3ed4
fix: ignore debug lines hints if numbers was adjusted for method 2024-09-20 21:36:13 +01:00
Skylot
23696d3971
fix: use type from new-instance if differ from constructor call (#2285) 2024-09-20 21:34:21 +01:00
Andy Smith
efa2f5d172
feat(gui): limit search to a package (PR #2284)
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
* Add isDescendantOf and getJavaPackage helper functions

* Add i18n strings for search package

* Added search package to options in SearchSettings

* Add package limiting to each search provider

* Add package search to dialog and logic to get package by string.

* Added search option to package context menu

* Fix spotlessJavaCheck complaints

* Revert changes to individual search providers and add filter to base provider
2024-09-20 12:31:20 +03:00
Skylot
699ceb197e
fix: improve condition branch checks in loops (#2274)
Some checks failed
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
CodeQL / Analyze (java) (push) Failing after 1s
2024-09-16 20:37:34 +01:00
Skylot
5c83c22501
feat(java-input): support StackMapTable to get stack info for unvisited jumps (#2271)
Some checks failed
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
Build Artifacts / build-win-bundle (push) Has been cancelled
Build Test / tests (windows-latest) (push) Has been cancelled
2024-09-14 22:45:31 +01:00
Skylot
7bb5c0a859
fix: protect class deps from loading in different decompilation mode
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
2024-09-13 21:25:11 +01:00
Skylot
603863403f
fix: do not add custom passes for fallback and simple modes (#2276) 2024-09-13 21:01:19 +01:00
Skylot
889a945cf1
fix: additional checks for class signature (#2272)
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 1s
2024-09-12 20:29:05 +01:00
Skylot
fd80e03809
fix: check if debug info offset is invalid (#1653)
Some checks failed
Build Artifacts / build-win-bundle (push) Waiting to run
Build Test / tests (windows-latest) (push) Waiting to run
Build Artifacts / build (push) Failing after 0s
Build Test / tests (ubuntu-latest) (push) Failing after 0s
CodeQL / Analyze (java) (push) Failing after 0s
Validate Gradle Wrapper / Validation (push) Failing after 0s
2024-09-11 19:54:49 +01:00
Skylot
5d1f0b8cae
feat(res): support grammar inflection flag in res config (#2270) 2024-09-08 21:49:13 +01:00
Skylot
e2c860f260
refactor(res): use list instead map to store entries offsets 2024-09-07 01:21:46 +03:00
Skylot
0938351d97
feat(res): support compact resource entries (#2268) 2024-09-07 01:21:42 +03:00