Live data from Hacker News

Fernflower Java Decompiler

github.com

11–20 of 45 posts

Re: Fernflower Java Decompiler

#11
post #6

I know you probably don’t want an LLM in your decompiler, but assigning meaningful names could be a good task for an LLM.

One day I was using ghidra to decompile something to find out how it works, and the LLM helped a lot. It was a game changer in refactoring of the decompiled assembly-that-looked-like-c language.

Re: Fernflower Java Decompiler

#12
post #6

I know you probably don’t want an LLM in your decompiler, but assigning meaningful names could be a good task for an LLM.

There’s some prior art on this [0] [1], and it’s worked decently well for me on obfuscated JS.

[0]: https://thejunkland.com/blog/using-llms-to-reverse-javascrip...

[1]: https://github.com/jehna/humanify/blob/main/README.md#exampl...

Re: Fernflower Java Decompiler

#18
post #9

> Fernflower is the first actually working analytical decompiler for Java and probably for a high-level programming language in general. That really deserves a link. What is an “analytical” decompiler?

Someone apparently had the exact same question in 2020: https://stackoverflow.com/questions/62298929/what-is-an-anal...

Answer is pretty vague though, but sounds like it’s about not trying to “reverse” what the compiler did, but rather try and “analytically” work put what source code would likely have yielded the byte code it’s looking at?

Re: Fernflower Java Decompiler

#19
post #6

I know you probably don’t want an LLM in your decompiler, but assigning meaningful names could be a good task for an LLM.

There’s some prior art on this [0] [1], and it’s worked decently well for me on obfuscated JS. [0]: https://thejunkland.com/blog/using-llms-to-reverse-javascrip... [1]: https://github.com/jehna/humanify/blob/main/README.md#exampl...

It's also good as picking up patterns which are common enough, but may not be known to everyone. For example I couldn't tell that some function was doing CRC via a lookup table - but Claude knew.
Post reply on HN