RE: accessing argv on exec
RE: accessing argv on exec
- Subject: RE: accessing argv on exec
- From: "Manu ." <email@hidden>
- Date: Tue, 11 Nov 2014 22:52:59 -0800
- Importance: Normal
You may also want to look at task_info. While it only gives you the all loaded images list, there is some code that you can find which can use task_info or get the offset of the structure in memory. There is a gContext variable in dyld that contains argv[] so if one can retrieve the loaded modules structure address, it should be possible to get the rest. Kind of wish that the arguments would be kept in the proc_t and made available (like on Windows EPROCESS -> PEB -> command line), alas it's not the case.
Date: Tue, 11 Nov 2014 16:25:46 -0800 Subject: Re: accessing argv on exec From: email@hidden To: email@hidden CC: email@hidden; email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden