D code obfuscator

Norm norm.rowtree at gmail.com
Thu Jun 14 02:49:46 UTC 2018


On Thursday, 14 June 2018 at 00:01:31 UTC, DigitalDesigns wrote:
> Is there an obfuscator for D that at least renames identifiers? 
> This is because sometimes they leak from various processes and 
> could be potential sources of attack.
>
> It would be a tool that probably just replaces their values 
> with, say their hash + something else and done pre release 
> build. Ideally it would be able to compile with dmd and all in 
> memory or use temp storage without file issues. It can't modify 
> the code directly because then that would be permanent.

I don't know any specifically for D but these C/C++ tools might 
help as a starting point.

https://github.com/obfuscator-llvm/obfuscator/wiki
https://github.com/obfuscator-llvm/obfuscator/tree/llvm-4.0

https://sourceforge.net/projects/cshroud/




More information about the Digitalmars-d mailing list