Click here to Skip to main content
13,143,637 members (30,384 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

1.7K views
Posted 4 Oct 2012

can i know the physical address of command line arguments before runtime ?

, 4 Oct 2012
Rate this:
Please Sign up or sign in to vote.
I want to find out the physical address of the command line arguments ( argv[i] (all of them if more than one )) before run time . To be specific , the compiler or OS might have pushed the command line values into the stack before calling main , and passing a pointer to main on execution which...
I want to find out the physical address of the command line arguments ( argv[i] (all of them if more than one )) before run time . To be specific , the compiler or OS might have pushed the command line values into the stack before calling main , and passing a pointer to main on execution which points to the argument array ( if my knowledge is rite right) so is it possible to know the physical address before runtime ?

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

archies50
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170915.1 | Last Updated 4 Oct 2012
Article Copyright 2012 by archies50
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid