News for hackers. Stuff that matters.
Re:Decompiling 2024: A Year of Resurgance in Decompilation R... by donatj on Thursday January 30, 2025 @07:57AM (#42877300)
It's pattern matching, plain and simple, An area where AI excels. AI driven decomp is absolutely on its way
Re:Decompiling 2024: A Year of Resurgance in Decompilation R... by dartos on Thursday January 30, 2025 @08:10AM (#42877393)
Maybe in conjunction with a deterministic decompiler.

precision wrt translation, especially when the translation is not 1-to-1, is not excellent with LLMs.

In fact, their lack of precision is what makes them so good at translating natural languages!

Re:Decompiling 2024: A Year of Resurgance in Decompilation R... by ChrisKnott on Thursday January 30, 2025 @08:32AM (#42877509)
It's also perfect for RL because it can compile it's output and check it against the input. It's a translation exercise where there's already a perfect machine translator in one direction.

It probably just hasn't happened because decompilation is not a particularly useful thing for the vast majority of people.

Re:Decompiling 2024: A Year of Resurgance in Decompilation R... by thesz on Thursday January 30, 2025 @04:01PM (#42882137)
Let me parrot you, it's fun.

"It's pattern matching, plain and simple, an area where pattern matching algorithms excel. Pattern matching driven decomp absolutely leads"

Decompilation is a dependence graph problem, one can formulate decompilation as a graph transformation/rewrite. Neural networks are notoriously bad at graphs.

Re:Decompiling 2024: A Year of Resurgance in Decompilation R... by gsam on Thursday January 30, 2025 @09:17PM (#42884163)
> Neural networks are notoriously bad at graphs.

AlphaFold is based on graph neural networks. The biggest issue is that we still do not know how to best encode graph problems in ways neural networks can exploit. Current graph neural network techniques exploit certain invariants but cannot distinguish between various similar graphs. And yet, they're still generating meaningful insights.

Re:Decompiling 2024: A Year of Resurgance in Decompilation R... by thesz on Friday January 31, 2025 @03:50AM (#42885826)
> AlphaFold is based on graph neural networks.

And what is the size of graphs processed by AlphaFold? How does it compare to the size of program dependence graph?

Here's evaluation of boolean satisfiability encoding of protein folding problem: https://pmc.ncbi.nlm.nih.gov/articles/PMC7197060/

Boolean satisfiability solvers are used in satisfiability modulo theories solvers that, in turn, are used to prove various things about programs.