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

Provide ability to get ModuleInfo based on a pointer and also to get the name of the module #4

Open
blu-dev opened this issue Apr 7, 2022 · 0 comments

Comments

@blu-dev
Copy link

blu-dev commented Apr 7, 2022

I'm proposing that there should either be an overload for exl::util::GetModuleInfo that takes a const void* argument or a differently named function that will do the following:

  1. Check the provided pointer against the range of the already cached ModuleInfo structures of the static modules
  2. If it does not fall within any of those, svcQueryMemory on to get the memory range it's in. From there, move forwards/backwards/both to try and get the rest of the ModuleInfo fields

On top of that, it would be nice to be able to fetch the name of the module either by index or by pointer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant