Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

Compare Classes/Jar

Open escequi opened this issue 1 year ago • 7 comments

Hello, i did some reverse on this Jar but i swear i don't remember what i changed (was on a 12 hour analysis so yea hard to remember it all and i didn't really take notes), is there any way i can compare all the classes in the jar with another jar (the unmodified version)? (bytecode)

escequi avatar Apr 22 '23 10:04 escequi

If you check out the WIP 3x releases this feature sort-of exists:

https://user-images.githubusercontent.com/21371686/233784793-3df846f1-7dcd-46b0-b9c3-4a7e99dbf725.mp4

Col-E avatar Apr 22 '23 12:04 Col-E

If you check out the WIP 3x releases this feature sort-of exists: java_Uur5ktzyJZ.mp4

hi, thanks for the reply; from what i understand, this only work if you haven't closed the workspace yet?

escequi avatar Apr 22 '23 14:04 escequi

This is correct. Having a more comprehensive jar comparison scheme is planned, but not yet implemented yet.

Col-E avatar Apr 22 '23 14:04 Col-E

This is correct. Having a more comprehensive jar comparison scheme is planned, but not yet implemented yet.

Aight, thanks. Is there any way to export all the classes' bytecode to a .txt or something? So i can use notepad++ to compare...

escequi avatar Apr 22 '23 15:04 escequi

Not currently, but a disassembly based text comparison strategy is what is roughly planned for the future.

3X has a WIP class-level assembler. You can go that route for now, or do basic decomp diffs until we get to adding the feature ourselves.

Col-E avatar Apr 22 '23 15:04 Col-E

You can use https://github.com/sfPlayer1/Matcher for comparing JARs

NebelNidas avatar Jun 22 '23 06:06 NebelNidas

IntelliJ IDEA can compare jars quite nicely too, even in the community edition.

eleses avatar Jun 25 '24 23:06 eleses