Click here to Skip to main content
15,881,687 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
Southmountain28-Mar-22 15:02 
GeneralRe: can DLL in C++ be reverse engineered? Pin
haughtonomous29-Mar-22 0:24
haughtonomous29-Mar-22 0:24 
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida28-Mar-22 18:35
jmaida28-Mar-22 18:35 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain29-Mar-22 4:42
Southmountain29-Mar-22 4:42 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Member 916705728-Mar-22 20:06
Member 916705728-Mar-22 20:06 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain29-Mar-22 4:45
Southmountain29-Mar-22 4:45 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Member 1493446429-Mar-22 5:11
Member 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
jmaida29-Mar-22 7:23 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Member 1493446429-Mar-22 8:40
Member 1493446429-Mar-22 8:40 
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida29-Mar-22 13:48
jmaida29-Mar-22 13:48 
GeneralRe: can DLL in C++ be reverse engineered? Pin
jmaida29-Mar-22 14:20
jmaida29-Mar-22 14:20 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain29-Mar-22 8:14
Southmountain29-Mar-22 8:14 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Kirk 1038982129-Mar-22 10:16
Kirk 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
Southmountain27-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
Southmountain27-Apr-22 16:06 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Kate-X25727-Apr-22 4:52
Kate-X25727-Apr-22 4:52 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain27-Apr-22 16:01
Southmountain27-Apr-22 16:01 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Kate-X2572-May-22 6:00
Kate-X2572-May-22 6:00 
GeneralRe: can DLL in C++ be reverse engineered? Pin
Southmountain4-May-22 9:59
Southmountain4-May-22 9:59 
GeneralRe: can DLL in C++ be reverse engineered? Pin
pkfox9-May-23 23:26
professionalpkfox9-May-23 23:26 
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
Southmountain27-Mar-22 12:43 

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.