Skip to content

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

@blu-dev

Description

@blu-dev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions