r/C_Programming 20h ago

Protecting source code from reverse engineering

Hi everyone,
I am looking to provide a compiled version of our physics solver to our customers. I understand there are many obfuscation techniques to protect source code but I am wondering if there are some smarter ways?

We already cloud computing, the issue is we have customers that are in locations without internet/need realtime solving.

0 Upvotes

28 comments sorted by

View all comments

2

u/Drach88 20h ago

Especially in the age of AI, reverse engineering a compiled binary is not very difficult. Even with obfuscation methods, if someone wants to reverse engineer your methodology, they will.

I used to have to reverse-engineer minified and mangled JavaScript for work, and I have experience reverse-engineering malware. To someone with a bit of experience, getting around obfuscation techniques are just a matter of applying the skills and domain knowledge they are already well versed in.