Click here to Skip to main content
15,351,471 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: can DLL in C++ be reverse engineered? Pin
CPallini27-Mar-22 23:56
mveCPallini27-Mar-22 23:56 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain28-Mar-22 15:02
MemberSouthmountain28-Mar-22 15:02 
GeneralRe: can DLL in C++ be reverse engineered? Pin
haughtonomous29-Mar-22 0:24
Memberhaughtonomous29-Mar-22 0:24 
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida28-Mar-22 18:35
Memberjmaida28-Mar-22 18:35 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain29-Mar-22 4:42
MemberSouthmountain29-Mar-22 4:42 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Member 916705728-Mar-22 20:06
MemberMember 916705728-Mar-22 20:06 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain29-Mar-22 4:45
MemberSouthmountain29-Mar-22 4:45 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Member 1493446429-Mar-22 5:11
MemberMember 1493446429-Mar-22 5:11 
Real world story:

At a previous job, most work was done in C#. We did have some proprietary algorithms/approaches that we wished to protect, so we used a combination of (one of various) obfuscators (no, not dotfuscator, stuff that was supposed to be much better) for the C# code, and for stuff we really wanted to protect we wrote in C++ under the presumption that it would be too hard to decompile.

After years of this misguided perception, I decided to confirm our assumptions. ALL of the C# code could easily be decompiled back to almost verbatim source using one or two free/open source readily available tools. No C# protection tool was worth anything, the could all be easily decompiled in a matter of minutes.

At least our important stuff was C++ compiled binaries, that should be safe, right? WRONG!

I used a tool called Hex-Rays that decompiled the C++ binaries back to almost perfect C++. It wasn't perfect, but it was close enough so that anything that we considered proprietary was plainly and easily visible. A couple $K and a few minutes and I had all the source I needed.

We soon after abandoned any (false) precept that code (compiled or otherwise) could be sufficiently protected.
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida29-Mar-22 7:23
Memberjmaida29-Mar-22 7:23 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Member 1493446429-Mar-22 8:40
MemberMember 1493446429-Mar-22 8:40 
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida29-Mar-22 13:48
Memberjmaida29-Mar-22 13:48 
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida29-Mar-22 14:20
Memberjmaida29-Mar-22 14:20 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain29-Mar-22 8:14
MemberSouthmountain29-Mar-22 8:14 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Kirk 1038982129-Mar-22 10:16
MemberKirk 1038982129-Mar-22 10:16 
GeneralRe: can DLL in C++ be reverse engineered? Pin
englebart29-Mar-22 15:18
professionalenglebart29-Mar-22 15:18 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain27-Apr-22 16:05
MemberSouthmountain27-Apr-22 16:05 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Peter_141420578-Apr-22 3:05
professionalPeter_141420578-Apr-22 3:05 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain27-Apr-22 16:06
MemberSouthmountain27-Apr-22 16:06 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Kate-X25727-Apr-22 4:52
MemberKate-X25727-Apr-22 4:52 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain27-Apr-22 16:01
MemberSouthmountain27-Apr-22 16:01 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Kate-X2572-May-22 6:00
MemberKate-X2572-May-22 6:00 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain4-May-22 9:59
MemberSouthmountain4-May-22 9:59 
GeneralWhy are some forums so dead? Pin
RobertSF27-Mar-22 12:38
professionalRobertSF27-Mar-22 12:38 
GeneralRe: Why are some forums so dead? Pin
Southmountain27-Mar-22 12:43
MemberSouthmountain27-Mar-22 12:43 
GeneralRe: Why are some forums so dead? Pin
Eddy Vluggen27-Mar-22 16:52
professionalEddy Vluggen27-Mar-22 16:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

What language are you using for AI development or learning?
Whether you're at work or home, hard core coding or just trying to figure out this AI thing, which languages have you used in your adventures?
  Results   355 votes