Jump to content
Sign in to follow this  
mportal

What is an exe stub

Recommended Posts

mportal

Im pretty new at this and im just trying to lean as much things as possible so i can expand my knowledge in this area. I was just curious as to what an "exe stub" is and what is the purpose of it. From what i gathered a stub is a ONE BYTE executable broken down from the primary exe is this right?. Any help regarding this question is appreciated

Edited by wakrein

Share this post


Link to post
Share on other sites
seandisanti

Im pretty new at this and im just trying to lean as much things as possible so i can expand my knowledge in this area. I was just curious as to what an "exe stub" is and what is the purpose of it. And help regarding this question is appriciated

i'm not so new at this, but i'm not sure what you're talking about. tried google'ing "exe stub" and nothing that came up looked like anything that should be discussed here... could you perhaps provide some context as to where you've come across the term in relation to expanding your knowledge of autoit?

Share this post


Link to post
Share on other sites
mportal

i'm not so new at this, but i'm not sure what you're talking about. tried google'ing "exe stub" and nothing that came up looked like anything that should be discussed here... could you perhaps provide some context as to where you've come across the term in relation to expanding your knowledge of autoit?

i was searching on google about programming and someone had mentioned about the stub from an exe, but i didnt understand this term "stub" but i guess if stubs arnt used here then i guess it wouldnt be of much use now would it. But is it possible to break down an EXE into little EXE's retaining the original data into single kb's or even bytes?

Share this post


Link to post
Share on other sites
seandisanti

i was searching on google about programming and someone had mentioned about the stub from an exe, but i didnt understand this term "stub" but i guess if stubs arnt used here then i guess it wouldnt be of much use now would it. But is it possible to break down an EXE into little EXE's retaining the original data into single kb's or even bytes?

if the data could be written into single bytes, the original exe wouldn't be so large to begin with... i swear i'm not trying to be insulting i just don't see where you're going with this... what were you googling about programming that referenced stubs, maybe that will lead me down the same rabbit hole and i can shed a little more light.

Share this post


Link to post
Share on other sites
mportal

if the data could be written into single bytes, the original exe wouldn't be so large to begin with... i swear i'm not trying to be insulting i just don't see where you're going with this... what were you googling about programming that referenced stubs, maybe that will lead me down the same rabbit hole and i can shed a little more light.

i certainly didnt google "exe stub" or anything like that but i think it was something about hex editing exe's im new i just want to learn a bit about stuff like curious geroge for personal learning and testing only Edited by wakrein

Share this post


Link to post
Share on other sites
Richard Robertson

A stub is enough code to compile but not enough to actually perform an action. If you are referring to the stub binary that AutoIt uses, it is actually the entire script parser and won't run anything until the script is added to complete the binary.

Share this post


Link to post
Share on other sites
Morthawt

I understand a stub being a small piece of code/program that does something simple to do with launching other code. I recently made a script to install a clan modpack for a game and rather than force people to download the new version of the downloader when I add optional extras I actually made the program they download into just a stub that actually downloads the real script's a3x file and execute it. I classify that little exe as a stub because all it does is perform the action of loading the main script.

Share this post


Link to post
Share on other sites
JLogan3o13

Morthawt, you've been around long enough to know not to necro old posts, especially when the OP hasn't even been active in almost a year.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×