seddonm1
Joined 8 years ago
Joined 8 years ago
[0] https://www.phoronix.com/review/clear-linux-48p-ubuntu/6
I actually sidestepped the annoying btrieve problem by exporting the data using a go binary [0] and I write it to a sqlite instance with raw byte arrays (blobs). btreive is weird because it has a dll but also a a service to interact with the files.
P.s. I have spent a lot of hours on this mainly to learn actual LLM capabilities that have improved a huge amount in the last year.
[0] https://reorchestrate.com/posts/your-binary-is-no-longer-saf...
[1] https://reorchestrate.com/posts/your-binary-is-no-longer-saf...
Its scary - once you get the differential testing harness set up it seems to be just a matter of time/tokens for it to stubbornly work through it.
I have a demonstrated process here on my blog (all hand written without AI).
This bit about how to brute force decompilation: https://reorchestrate.com/posts/your-binary-is-no-longer-saf...
And this about how to do the conversion and address the LLM hallucination problem: https://reorchestrate.com/posts/your-binary-is-no-longer-saf...
Yes, it is absolutely possible.
It is written up in my link - please bear in mind it is really hard to find the right level to communicate this level of detail at - so I'm happy to answer questions.
I'm also doing this on an old Win32 DLL so the task is probably much easier than a lot of code bases.
https://reorchestrate.com/posts/your-binary-is-no-longer-saf...
I am able to translate multi-thousand line c functions - and reproduce bug-for-bug implementation
What you need is differential, property testing. I’m sure it would work for you (you can skip the first half as you already have the source):
https://reorchestrate.com/posts/bringing-a-warhammer-to-a-kn...
This was written to store many thousands of images for machine learning
This process is targeting an old computer game but there is nothing preventing this being run on any binary.