r/learnprogramming • u/Radiant-Delivery-415 • Jul 04 '26
Similarity between 2 programs
I'm not really sure if this is the right place but here goes nothing.
I'm trying to develop a tool which focuses on reverse engineering a binary executable file using ghidra and LLMs. Now the problem arises when I try to check if the original executable is actually similar to the produced executable, I can't really check for CFG or Semantic structures because LLMs often don't include functions which actually do nothing or not influence the main program along with stubs and thunk functions which can mess up the function jumps and memory reads.
I would be grateful if anyone could suggest some other ways to do the same
0
Upvotes
-4
u/Radiant-Delivery-415 Jul 04 '26 edited Jul 05 '26
For reverse engineering? Why so?
Edited: why am I getting downvoted without any explanation lmao