Re: API used to access process heap structure
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Priority: normal Are you sure this is a good thing to do? http://www.eweek.com/article2/0,3959,5264,00.asp Allchin: Disclosure May Endanger U.S. ... "...some Microsoft code was so flawed it could not be safely disclosed..." Unix may discourage this hook into the OS for a good reason. Cheers, -Stewart ----- Original Message ----- From: Martin Knapp-Cordes <martin@mathworks.com> Date: Thursday, September 7, 2006 4:34 pm Subject: API used to access process heap structure
Hi,
Windows has an API to walk the heap associated with a process. There is no POSIX API for UNIX as far as I know. So it will be different for each UNIX variant. Darwin has a heap(1) utility which clearly uses an API to get the information. You can see some of that by looking at the output of nm. However, I have been unable to find any published documentation about it. I am interested for example in extracting information about the blocks on the free list.
Any help would be much appreciated.
Sincerely, Martin Knapp-Cordes
--------------------------------------------------------------- | Martin Knapp-Cordes martin@mathworks.com | | The MathWorks, Inc. http://www.mathworks.com | | 3 Apple Hill Drive Natick, MA 01760 | | Tel: (508) 647-7321 Fax: (508) 647-7015 | ---------------------------------------------------------------
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin- dev/stewart.dickson%40noaa.gov This email sent to stewart.dickson@noaa.gov
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stewart.Dickson@noaa.gov