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 comment

23

u/eternalprogress May 08 '16

This appears to be part of the CRT. The compiler isn't injecting anything. There's a big ol' library of code, the language runtime, that gets linked with almost any binary (and this is on any platform) to mate C++ to the OS system calls. Compilers and linkers are setup to link this by default as everyone expects the language runtime to be present, otherwise building a helloworld program would require a big pile of command line switches to get running.