r/cpp • • May 07 '16

Visual Studio adding telemetry function calls to binary?

http://imgur.com/TiVrXyf
596 Upvotes

211 comments sorted by

View all comments

Show parent comments

15

u/adzm 28 years of C++! May 08 '16

I suppose we should assume the etw logs are being collected and submitted to Microsoft as part of their telemetry. This is a very disturbing realization.

20

u/choikwa May 08 '16

I realize that if Microsoft wanted, they don't even have to make it easily visible to record telemetry... you would have to assume that Microsoft can do this if you're running Windows period.

2

u/adzm 28 years of C++! May 08 '16

True. They could do something similar without having to hijack every binary built by vc14. Having this added into the binary itself is the disturbing part, I suppose.

18

u/[deleted] May 08 '16

Don't quite understand how a compiler and standard library implementation "inserting code" is "suspicious". The CRT has always had to insert code before main() is called, to initialize per thread data (e.g. errno), call constructors on globals, bind stdout to the console, etc. Emitting an ETW event letting you see when the CRT code is done and your code starts in a profile seems pretty tame by comparison.

→ More replies (0)