Stuff in the .exe

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Stuff in the .exe

MichaelAtOz
Administrator
While I was fiddling with process monitor and OpenSCAD, I came across the ASCII search feature, which pulls anything out of the .exe which looks like text.

I was surprised by the amount of stuff which I would have thought the linker wouldn't need to include. Lots of source both C and asm.

crap_in_exe.txt (cut down somewhat)

Not exactly svelt...
Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
Reply | Threaded
Open this post in threaded view
|

Re: Stuff in the .exe

donbright
fascinating...  how does it compare to other windows(TM) opengl programs?

alot of the filenames are probably __FILE__ lines so that when it crashes, it can tell you which file it crashed in.
(the infamous CGAL Exception blah blah blah)

-DB



On Wed, Mar 26, 2014 at 10:01 PM, MichaelAtOz <[hidden email]> wrote:
While I was fiddling with process monitor and OpenSCAD, I came across the
ASCII search feature, which pulls anything out of the .exe which looks like
text.

I was surprised by the amount of stuff which I would have thought the linker
wouldn't need to include. Lots of source both C and asm.

crap_in_exe.txt <http://forum.openscad.org/file/n7484/crap_in_exe.txt>
(cut down somewhat)

Not exactly svelt...



--
View this message in context: http://forum.openscad.org/Stuff-in-the-exe-tp7484.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566
Reply | Threaded
Open this post in threaded view
|

Re: Stuff in the .exe

chrysn
hi,

On Wed, Mar 26, 2014 at 11:12:51PM -0500, Don Bright wrote:
> fascinating...  how does it compare to other windows(TM) opengl programs?
>
> alot of the filenames are probably __FILE__ lines so that when it crashes,
> it can tell you which file it crashed in.
> (the infamous CGAL Exception blah blah blah)

windows is not quite my area, but for comparison, i ran strings on the
debian openscad binary.

the windows strings are in the same order of magnitude as the same
order of magnitude as the ones in linux. i agree with you that most of
the strings are from assertions, when you want to know where your code
crashes.

a binary with much more useless cruft would be an unstripped debug build
(instead of 4mb, that would easily be 40mb or more), but the windows
download is not that big either.

i wouldn't worry
chrysn


$ strings /usr/bin/openscad | wc
  45274   75409  759453
$ curl --silent http://forum.openscad.org/file/n7484/crap_in_exe.txt | wc
  43536   91974 1087355

--
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Stuff in the .exe

MichaelAtOz
Administrator
In reply to this post by donbright
>  how does it compare to other windows(TM) opengl programs?

Name a few and i will check? Guessing, I have inkscape, mashlab, netfab, infranview ??

Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
Reply | Threaded
Open this post in threaded view
|

Re: Stuff in the .exe

MichaelAtOz
Administrator
p.s.

> alot of the filenames are probably __FILE__ lines so that when it crashes, it can tell you which file it crashed in.(the infamous CGAL Exception blah blah blah)

Not from my experience, it tells FA about a crash.
Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.