seddonm1

Joined 8 years ago

Karma
195
Submissions
63
Member since
Nov 13
https://reorchestrate.com/
View on Hacker News

Recent submissions

Comment · 5 months ago
Comment · 5 months ago
Comment · 8 months ago
Comment · 8 months ago
Comment · 8 months ago
No, I would need to find a binary to test on. I suspect it would produce horrible code at the decompiler layer but ultimately I would expect that function signatures are still relatively clean?

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.

Comment · 8 months ago
Comment · 8 months ago
I am applying differential/property based testing to all the side effects of functions (mutations) and return values. The rust code coverage is also used to steer the LLM as it finds discrepancies in side effects.

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.

Comment · 8 months ago
My test harness loads up the original DLL then executes that in parallel against the converted code (differential testing). That closes the feedback loop the LLM needs to be able to find and fix discrepancies.

I'm also doing this on an old Win32 DLL so the task is probably much easier than a lot of code bases.

Comment · 8 months ago
I delivered a talk at Rust Sydney about this exact topic last week:

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

Comment · 8 months ago
Comment · 8 months ago
What about s3 stored in SQLite? https://github.com/seddonm1/s3ite

This was written to store many thousands of images for machine learning

Comment · 9 months ago
A process for using LLMs to do brute-force decompilation of binaries and conversion to another programming language - including testing to prove equality.

This process is targeting an old computer game but there is nothing preventing this being run on any binary.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton