Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#58 MacOS: determine the file backing a memory region
My implementation uses SYS_proc_info with PROC_INFO_PID_INFO and PROC_PIDREGIONPATHINFO to get the file backing information. I tweaked the library bounds code to allow allocating memory by the memory iterator, as Mac's uses heap instead of a locked static struct. The heap is used to hold the large buffer for the file backing query. SVN-Revision: 2465
- Loading branch information
1 parent
1fdd760
commit 5af2c1a
Showing
4 changed files
with
67 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters