top | item 34503603

(no title)

arriu | 3 years ago

Could this be taken to the extreme by asking it to decompile assembly?

discuss

order

pathartl|3 years ago

I've been using it paired with Ghidra to give me a better idea of what's going on. It helped me create a no-CD crack for an old game.

amrb|3 years ago

Silly idea tho would it be helpful in creating the server side code for an online only game?

I've seen a project for battlefield 3 tho already have the feeling it's a team effort at minimum?

amrb|3 years ago

From my own research, ctf tools like angr can build AST trees, so I'm working on the thinking I can train the AI to review interesting parts of the execution tree. happy to get feedback or papers since this has been the most interesting find so far https://arxiv.org/abs/1906.12029

pskkk|3 years ago

I previously did this. I wrote a naive integer factorization program in C, compiled it, extracted the disassembly and intentionally broke it. It generated a working c function they was almost correct given the broken assembly. I then “talked” with it to improve the code, even suggested that the original disassembly contained an error. It was surprisingly good.

Note: I broke the disassembly intentionally because when I presented the original disassembly it immediately outputted the/a C program to factorize integers.

the_mitsuhiko|3 years ago

I have used ChatGPT somewhat successfully to decompile assembly in to C and C++. It's making a lot of mistakes but despite all of this, it's very helpful.