Hacker News new | ask | show | jobs
by FusspawnUK 497 days ago
Ive had supprisingly good results feeding ghidras decomp output to chat gpt and having it simplify and explain it

it seems to be very capable of having some understanding of what the original code would do.

for instance i was feeding it some game decomp. a function looking for an entity in a 3d array of tiles.

It somehow inferred it was an array of tiles and that it was hunting for a specific entity.

None of the decomp I fed it had any variable/function names or comments, just the usual var1,var2 ect.

How did it know what the underlying code was doing?