[Issue 19819] __FILE__ might emit personally identifiable information in release executable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 23 08:47:18 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19819
--- Comment #1 from Lionello Lunesu <lio+bugzilla at lunesu.com> ---
Simply compiling the previous `test.d` with dub shows the problem:
$ cat dub.sdl
name "test"
targetType "executable"
$ dub build -b=release
Performing "release" build using dmd for x86_64.
test ~master: building configuration "application"...
Linking...
$ strings test | rg '\.d$' | sort | uniq
/Users/llunesu/repos/d/dmd/generated/osx/release/64/../../../../../phobos/std/stdio.d
etc.
When including other Dub dependencies, their paths inside the .dub cache folder
will be stored in the final executable as well.
--
More information about the Digitalmars-d-bugs
mailing list