top | item 45640539

(no title)

joshschreuder | 4 months 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

discuss

order

viraptor|4 months ago

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.