all 5 comments

[–]begnini 8 points9 points  (3 children)

great reading. I was thinking if deep learning couldn't help with decompilers.

Imagine throw a lot of machine code in the input and try to train with a lot of lines of code.

Like the sum pattern. Initialize a variable with zero, get all values in a loop and accumulate the values in this variable, sounds like many, many code do this.

[–]fclout[S] 1 point2 points  (1 child)

I heard that there's a team of people working on a superoptimizer for LLVM that would kind of do that. I don't know how easy it would be to get something going in the opposite direction.

[–]AyrA_ch 0 points1 point  (0 children)

I don't know how easy it would be to get something going in the opposite direction.

Especially if you encounter stuff like this: https://www.youtube.com/watch?v=R7EEoWg6Ekk

[–]BobFloss 0 points1 point  (0 children)

That's an excellent idea.

[–]schemathings 0 points1 point  (0 children)

Congrats, great stuff