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

the listing XML element contains binary code #845

Closed
yegor256 opened this issue Nov 8, 2024 · 5 comments
Closed

the listing XML element contains binary code #845

yegor256 opened this issue Nov 8, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@yegor256
Copy link
Member

yegor256 commented Nov 8, 2024

Currently, if I understand correctly, the <listing/> element in the XMIR generated by JEO, contains Base64-encoded content of the .class file that was disassembled. This doesn't help much in comprehending the XMIR content. Would be much better if we can put there Java code disassembled by some Bytecode-to-Java disassembler, maybe this one: https://github.com/Storyyeller/Krakatau

Or maybe just javap?

@yegor256
Copy link
Member Author

yegor256 commented Nov 8, 2024

@volodya-lombrozo please, check

@volodya-lombrozo volodya-lombrozo self-assigned this Nov 8, 2024
@volodya-lombrozo volodya-lombrozo added the enhancement New feature or request label Nov 8, 2024
@volodya-lombrozo
Copy link
Member

@yegor256 Of course, it's a good thing. I guess, we can add both options: 1) javap and 2) decompiler

@yegor256
Copy link
Member Author

yegor256 commented Nov 8, 2024

@volodya-lombrozo javap looks like the easiest solution at the moment, would be great to have it ASAP. Without it, it's very hard or almost impossible to deal with the XMIR -- I simply can't understand what does it represent.

volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Nov 13, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Nov 13, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Nov 13, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Nov 13, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Nov 13, 2024
@0pdd
Copy link

0pdd commented Nov 13, 2024

@yegor256 the puzzle #865 is still not solved.

@volodya-lombrozo
Copy link
Member

@yegor256 This issue was solved in the recent release. Can we close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants