WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@algomaster99
Copy link
Collaborator

Proposing a dissassembler for classfiles in diffr. It only gets the list of UTF8 constant and list of opcodes in functions and compares them. How it may benefit over javap -verbose -constants -s -l -private:

  1. We can ensure that the order of constant pool does not matter.
  2. We can ignore comparison of tables like StackMapTable (used for type checking) and debugging information.
  3. Mark set of instructions (opcodes) as equivalent.

I think it would be better to have this rather than Binary files differ since we will use diffr get diff assets locally.

@algomaster99 algomaster99 requested a review from msuozzo December 7, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant