0

i wrote my DLL in C++, compiled in Releasemode, and i find out, that i can view the complete source, ex. main.cpp etc ( full source code) in ollydbg->view->sourcfiles.

what the hell did i wrong? this should not be happen. how to prevent that? thanks in advance.

olly dbg view

Alan Birtles
  • 32,622
  • 4
  • 31
  • 60
rck
  • 33
  • 6
  • Does this show the source code on a different computer? I mean one that does not have your source code. – drescherjm Aug 19 '18 at 08:08
  • 3
    You obviously have .pdb file in the same directory as executable. – arrowd Aug 19 '18 at 08:19
  • yes, thats possible, on others PC it dont show up thanks, but another question, whats the best way to protect my dll without decrypting, work with dll, encrypt it again? – rck Aug 19 '18 at 08:20
  • 1
    The PDB file contains the information about which parts of the DLL come from which source code files, lines, etc. The DLL alone does not contain this information. Without both the PDB and source files, it is not possible to see your code in this simple way. – Ben Aug 19 '18 at 10:19

0 Answers0