Which Version of Visual Studio was used to create PureBasic?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 664
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Which Version of Visual Studio was used to create PureBasic?

Post by Kurzer »

At first, yes I am one of the Windows spy update paranoics.

This website claims Visual Studio 2015 C++ Compiler secretly inserts Telemetry Code Into Binaries.

https://yro.slashdot.org/story/16/06/10 ... o-binaries

So I ask myself which Version was used to create the current PureBasic Version and how does it have effect at the programs we create with PureBasic?
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2023: 56y
"Happiness is a pet." | "Never run a changing system!"
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: Which Version of Visual Studio was used to create PureBa

Post by Keya »

slashdot.org wrote:... discovered recently that Visual Studio 2015 C++ compiler was inserting calls to a Microsoft telemetry function into binaries. "I compiled a simple program with only main(). When looking at the compiled binary in IDA, I see a call for telemetry_main_invoke_trigger and telemetry_main_return_trigger.
FWIW no files in the Purebasic 5.42 LTS package contain the word "telemetry" in any shape or form, my guess is i dont think it's an issue at all for PB or PB users, definitely something to keep an eye out for though when using VS2015 so many thanks for the alert! I'm trying to install VS2015 today but having problems registering, think i'll just stick with 2013 2010 and 2008 lol, only need it for building libs for PB anyway
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: Which Version of Visual Studio was used to create PureBa

Post by Lunasole »

kurzer wrote:At first, yes I am one of the Windows spy update paranoics.

This website claims Visual Studio 2015 C++ Compiler secretly inserts Telemetry Code Into Binaries.

https://yro.slashdot.org/story/16/06/10 ... o-binaries

So I ask myself which Version was used to create the current PureBasic Version and how does it have effect at the programs we create with PureBasic?
That website is fully right.
In past MS only inserted it's spy trash into PE header of executables (Rich Signature), now it come much far and modifies your code.
But It seems that 2010 and 2013 VC are clean of that.

The PB 5.40+ uses something from VC 2013 as I remember, and oldest versions were using 2010. Would be interesting to know details too, to be sure there are no any MS hit.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Thunder93
Addict
Addict
Posts: 1788
Joined: Tue Mar 21, 2006 12:31 am
Location: Canada

Re: Which Version of Visual Studio was used to create PureBa

Post by Thunder93 »

5th November 2012 : Version 5.00
- Updated: Use of VC++ 2010 instead of VC++ 2005 to compile the Windows libraries (32-bit and 64-bit), resulting of better optimized code

16th October 2015 : Version 5.40 LTS
- Updated: the Windows compiler to VC++ 2013 for better code generation


;)
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: Which Version of Visual Studio was used to create PureBa

Post by Keya »

Lunasole wrote:In past MS only inserted it's spy trash into PE header of executables (Rich Signature)
very interesting! :)
Image

so the dword after "Rich" is used as the key to decrypt the rest of it by simple XOR
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: Which Version of Visual Studio was used to create PureBa

Post by Lunasole »

Keya wrote: so the dword after "Rich" is used as the key to decrypt the rest of it by simple XOR
Not only, here is full review and code to decrypt it:
http://www.ntcore.com/files/richsign.htm
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: Which Version of Visual Studio was used to create PureBa

Post by NoahPhense »

kurzer wrote:At first, yes I am one of the Windows spy update paranoics.

This website claims Visual Studio 2015 C++ Compiler secretly inserts Telemetry Code Into Binaries.

https://yro.slashdot.org/story/16/06/10 ... o-binaries

So I ask myself which Version was used to create the current PureBasic Version and how does it have effect at the programs we create with PureBasic?
Wasn't PB written in purely optimized ASM?! ;)

- np
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Which Version of Visual Studio was used to create PureBa

Post by Fred »

We use VC 2013
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Which Version of Visual Studio was used to create PureBa

Post by IceSoft »

Fred wrote:We use VC 2013
@Fred,
is there a roadmap/plan about changing the Visual Studio version (maybe switch to VS2017 or VS2019)?

Thanks.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Post Reply