You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing research on static analysis of decompiled code, and I'd like to only save the source files that exactly match the class filter.
Right now, when saving, using a filter for "com.foo" for example, the output folder will include the matching files plus dependencies ("com.google", etc)
Something like "setSkipDependencies" and "isSkipDependencies" would do the trick.
I already implemented this change, so if this is useful to others, I can make a PR.
The tool itself has been quite helpful so far. Thanks :)
The text was updated successfully, but these errors were encountered:
@NASGregorio this will be very helpful 👍
Actually, this sounds like a bug, class filter intended to output only passed classes without dependencies.
Not sure if someone really needs dependencies after filtering, but having such option is nice anyway 🙂
If it is a bug, perhaps make excluding dependencies the default behaviour, and add the option "setIncludeDependencies".
I'll open a PR soon with the changes.
…lter (#1466)(PR #1467)
* feat: Add option to include/exclude dependencies when saving
* fix save skip for class depencencies
Co-authored-by: Skylot <skylot@gmail.com>
I'm doing research on static analysis of decompiled code, and I'd like to only save the source files that exactly match the class filter.
Right now, when saving, using a filter for "com.foo" for example, the output folder will include the matching files plus dependencies ("com.google", etc)
Something like "setSkipDependencies" and "isSkipDependencies" would do the trick.
I already implemented this change, so if this is useful to others, I can make a PR.
The tool itself has been quite helpful so far. Thanks :)
The text was updated successfully, but these errors were encountered: