Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-deterministic results pt2 #2178

Closed
3mph4515 opened this issue May 8, 2024 · 2 comments
Closed

Non-deterministic results pt2 #2178

3mph4515 opened this issue May 8, 2024 · 2 comments
Labels
bug Core Issues in jadx-core module

Comments

@3mph4515
Copy link

3mph4515 commented May 8, 2024

Issue details

I'm using JADX 1.5.0 to decompile the same APK file multiple times and comparing the differences between two folders. Each time, the results vary slightly. This seems to be related to package visibility. Here is an example:

jadx /Users/andrew/test.apk --comments-level none

image image image

Relevant log output or stacktrace

No response

Provide sample and class/method full name

No response

Jadx version

1.5.0

@cw2k
Copy link

cw2k commented Jul 2, 2024

Also to me this non-deterministic decompiling results are annoying.
I can't use it to compare two versions of code.

If Jadx each time I decompile the same code gives different result s it renders it nearly useless for the task of comparing different versions of code.

A workaround like what parameter to use so jad is deterministic would greatly help.

@skylot
Copy link
Owner

skylot commented Aug 3, 2024

I think the issue with access modifiers was fixed by PR #2235.
For other issues, please try to set threads count to 1 (--threads-count flag in cli).
If this not help, please report such cases (with attached sample) in #1089 or open a new issue.

@skylot skylot closed this as completed Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

No branches or pull requests

3 participants