Does PureBasic insert an identifier in your executables?
Does PureBasic insert an identifier in your executables?
Microsoft Visual Basic inserts an identifier into the header of each executable it compiles so that anyone who knows where to look can see it was written in Microsoft Visual Basic. Microsoft Visual C++ does the same thing. Does PureBasic also insert an identifier into the header of it's executable when they are compiled?
Re: Does PureBasic insert an identifier in your executables?
The only thing I am aware of is when you use PureBasic Constants you can usually find them within the executable by using a hex editor.
Like, #PB_Window_SystemMenu will appear in ASCII.
Like, #PB_Window_SystemMenu will appear in ASCII.
▓▓▓▓▓▒▒▒▒▒░░░░░
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Does PureBasic insert an identifier in your executables?
No it doesn't. Where did you get that idea? None of my executables have it.Nituvious wrote:Like, #PB_Window_SystemMenu will appear in ASCII.
Re: Does PureBasic insert an identifier in your executables?
Programs like Exeinfo PE are able to detect executables that are created by PureBasic (but version number is wrong) through a signature - but I don't know exactly how this works. 

If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Does PureBasic insert an identifier in your executables?
PB does not insert identifier in exe.
But you can identify it easily if you can see PB_ prefix on some PB functions used.

But you can identify it easily if you can see PB_ prefix on some PB functions used.

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Re: Does PureBasic insert an identifier in your executables?
UserOfPure wrote:No it doesn't. Where did you get that idea? None of my executables have it.

Yeah.
▓▓▓▓▓▒▒▒▒▒░░░░░
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Does PureBasic insert an identifier in your executables?
Don't "yeah" me. I was referring to what I directly quoted; that which you mentioned, the text: #PB_Window_SystemMenu. :roll: Do a search for that and it's not there. In fact, NO PureBasic constants are there (search for #Red, #PB_Gadget_BackColor, etc) and you'll see. Because you did say (bold mine):
What say ye now?Nituvious wrote:The only thing I am aware of is when you use PureBasic Constants you can usually find them within the executable by using a hex editor.
Re: Does PureBasic insert an identifier in your executables?
Those are not constants, they are functions. :roll:Nituvious wrote:UserOfPure wrote:No it doesn't. Where did you get that idea? None of my executables have it.
Yeah.
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Does PureBasic insert an identifier in your executables?
Exactly my point. Thank you.
Re: Does PureBasic insert an identifier in your executables?
I pulled an all nighter, you have to excuse my mistakes. That was what the "Yeah." was about. I was acknowledging my own mishap. 

▓▓▓▓▓▒▒▒▒▒░░░░░
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Does PureBasic insert an identifier in your executables?
I thought the "yeah" was "yeah, you're wrong". No problem. It's cool. These things happen.
- greyhoundcode
- Enthusiast
- Posts: 112
- Joined: Sun Dec 30, 2007 7:24 pm
Re: Does PureBasic insert an identifier in your executables?
UserOfPure, Nituvious, shall we have a group hug?
Re: Does PureBasic insert an identifier in your executables?
Nope, they are window property namesTrond wrote:Those are not constants, they are functions. :roll:Nituvious wrote:UserOfPure wrote:No it doesn't. Where did you get that idea? None of my executables have it.
Yeah.

PB does not insert any signature for identification. But there is no attempt to hide the fact that the program is written in PB either, so it should be easy to detect trough strings like these which are prefixed with "PB_" to avoid any conflicts.
quidquid Latine dictum sit altum videtur
Re: Does PureBasic insert an identifier in your executables?
Do you know how these signature scan tools work? Why does for example "exeinfo PE" (see my post above) know that an application was build using PureBasic, C++, etc.freak wrote:PB does not insert any signature for identification.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Does PureBasic insert an identifier in your executables?
ExeInfo probably just scans the executable for PB_* strings.