4 ms·
> 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 misunder
by joshschreuder 1y 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 https://github.com/simonlindholm/decomp-permuter
- viraptor 1y agoAh yeah, I forgot about this one! Something like that. LLM will be less restricted in choices, but permuter will get you compatible/valid code.