Click here to Skip to main content
12,450,101 members (46,093 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

1.5K views
Posted

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

, 4 Oct 2012 CPOL
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
No Biography provided

You may also be interested in...

Pro
Pro

Comments and Discussions

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