Hacker News new | ask | show | jobs
by joshschreuder 245 days ago
> It may be also worth trying a loop of "fix until it matches binary" for separate files... But I haven't seen anyone actually write it up.

I might be misunderstanding what you mean, but there is decomp-permuter which I think does just this. Rewrites the code in various heuristics and subtle ways to attempt to find a match at function level.

https://github.com/simonlindholm/decomp-permuter

1 comments

Ah yeah, I forgot about this one! Something like that. LLM will be less restricted in choices, but permuter will get you compatible/valid code.