logoalt Hacker News

fouctoday at 8:33 AM1 replyview on HN

I wonder if we couldn't just use LLMs to completely reverse engineer a QNX 4.25 demo image into usable source code. Possibly translate it directly into rust code.

Bun had it easier in many ways, given that they're based on a well-documented public API surface & have the node.js test suite etc.

In the case of QNX I'm guessing it might help to find a way to intercept the message passing of running QNX instances in order to use it as a test harness while reverse engineering all the components.


Replies

d3Xt3rtoday at 9:09 AM

I reckon it should be feasible - especially if you start with the code in the 1.44MB demo disk. If you exclude the kernel, the network stack, the drivers and all the other apps, the binaries for Photon itself should be in kilobytes. Far more complex projects have been decompiled with LLMs.