Reverse Engineering

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
noodles
Baaaaaa!
Baaaaaa!
Posts: 2053
Joined: Wed May 15, 2002 1:04 pm 0
Location: France

Reverse Engineering

Post by noodles »

Does anyone know if the ChatGPTs or other AIs can reverse engineer compiled code ?

Meaning, if I give it the contents of the prog space of a C64 for example in assembly, I would like to see
it return a labeled and commented analysis of what it thinks each section does.

Obviously the standard documents for training an AI probably don't include 8-bit source code texts,
so would I have to train one myself using the C64 reference manual and the few commented source codes I might have ?

Just wondering how much work and how large the model would have to be to get any interesting results on a home PC with a decent Gfx card,
since the scope is relatively limited.
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1810
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: Reverse Engineering

Post by Whiteball »

Have you asked it?
User avatar
noodles
Baaaaaa!
Baaaaaa!
Posts: 2053
Joined: Wed May 15, 2002 1:04 pm 0
Location: France

Re: Reverse Engineering

Post by noodles »

I don't have an account, I refuse to give my phone number.
User avatar
venusian
Baaaaaaa!
Baaaaaaa!
Posts: 6651
Joined: Wed Nov 06, 2002 2:22 pm 0
Location: South Gloucestershire

Re: Reverse Engineering

Post by venusian »

I tried getting 3.5 to generate Z80 assembler and it had a reasonable go (for a moron) but it didn't work.

I guess you'd get the same kind of result for reverse engineering. It'll look plausible but you'll need to manually check.
User avatar
Whiteball
Baaaaa!
Baaaaa!
Posts: 1810
Joined: Sat Nov 24, 2007 12:39 pm 0
Location: At the computer

Re: Reverse Engineering

Post by Whiteball »

noodles wrote:I don't have an account, I refuse to give my phone number.
Don't know if its the same still now, but when I first went to sign up (sometime ago) it asked for my email, a password and then my phone number. I too refused and walked away at that point.
Coming back a week or two later (forgetting I hadn't actually completed the sign up process) I typed in my email and password to login and it let me in. Still works now too and they've still not got my phone number.
User avatar
gilesgoat
Sheepie Whore
Sheepie Whore
Posts: 27258
Joined: Wed Sep 03, 2003 7:54 am 0
Location: Monfalcone, Italy
Contact:

Re: Reverse Engineering

Post by gilesgoat »

Whiteball wrote:
noodles wrote:I don't have an account, I refuse to give my phone number.
Don't know if its the same still now, but when I first went to sign up (sometime ago) it asked for my email, a password and then my phone number. I too refused and walked away at that point.
Coming back a week or two later (forgetting I hadn't actually completed the sign up process) I typed in my email and password to login and it let me in. Still works now too and they've still not got my phone number.
" ... that's what YOU think ... " ...
Giles the billy goat
"Baa"
User avatar
KlaxonCow
Baaaaaaa!
Baaaaaaa!
Posts: 8444
Joined: Fri Dec 13, 2002 3:46 am 0
Location: A large grassy field.

Re: Reverse Engineering

Post by KlaxonCow »

You could alternatively use Google's Bard.

Just uses your Google account, if you already happen to have one for, like, YouTube or whatever.

Edit: Sorry, Google's renamed "Bard" to "Gemini" now. Don't know why, but it's called "Gemini", for some reason. I mean, in astrology, they're the twins - is there some "twin" thing going on there, then? No idea.
"Words ought to be a little wild - for they are assaults of thought on the unthinking."
- John Maynard Keynes
Post Reply