Traversing stack and retrieving main arguments
- by dlee313
Given the size of the code of the main function in bytes passed as a parameter to a function, what is the best way to get to the base address for the main code and retrieve the first char * in the argv array?