• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 553
  • Last Modified:

Ghost residual files

If I had source files on a thumb drive and compiled dll's to said thumb drive (with  a GNU compiler or Visual C++) would ghost copies of my source file be on the hdd hosting the compiler and Win 7?
1 Solution
btanExec ConsultantCommented:
You will have logs from compiler but doubt any remanence of the codes unless the source codes are residing in the project workspace and folder. Perform secure erase using eraser on that folder or workspace repository subsequently.

but note there are many temp files generated and not necessary source codes embedded. But i do see the link, debugging symbols and object files remaining need to be non existence so that the dll cannot be reconstructed easily..

e.g. in Visual C there are option to clean up workspaces etc

e.g. gnu has the "Clean mode" if using libtool

e.g. gnu has save temp option which not necessary where possible after debugging

Store the usual “temporary” intermediate files permanently; place them in the current directory and name them based on the source file. Thus, compiling foo.c with -c -save-temps produces files foo.i and foo.s, as well as foo.o. This creates a preprocessed foo.i output file even though the compiler now normally uses an integrated preprocessor.

e.g. check gnu tmpdir

If TMPDIR is set, it specifies the directory to use for temporary files. GCC uses temporary files to hold the output of one stage of compilation which is to be used as input to the next stage: for example, the output of the preprocessor, which is the input to the compiler proper.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

WEBINAR: GDPR Implemented - Tips & Lessons Learned

Join the WatchGuard team on Thursday, March 29th as we recount some valuable lessons learned in weighing the needs of a business against the new regulatory environment, look ahead at the two months left before implementation, and help you understand the steps you can take today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now