Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-10433] Need to get a way to enumerate all loaded images in a process #3452

Open
millenomi opened this issue Apr 9, 2019 · 2 comments
Open

Comments

@millenomi
Copy link
Contributor

Previous ID SR-10433
Radar None
Original Reporter @millenomi
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: bddce190371e584c6580c90f0451d235

blocks:

  • SR-10361 Parity: Bundle.init(for: AnyClass)

Issue Description:

In order to fix some shortcomings of Bundle, we need to be able to enumerate all loaded images in a process in a cross-platform manner.

@spevans
Copy link
Collaborator

spevans commented Apr 22, 2019

For Linux, could we parse /proc/self/maps ?

@millenomi
Copy link
Contributor Author

That's the plan. And I think we can use this on Windows: https://docs.microsoft.com/en-us/windows/desktop/psapi/enumerating-all-modules-for-a-process@compnerd?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants