Skip to content

base_address() only works for the first module #1

@LastExceed

Description

@LastExceed

bas_address only looks up the first module of a process and returns it if the name matches the request, else None. thus, requesting any module that isn't the first can never succeed

the problem is here:
https://github.com/vagola/process-memory-reader/blob/a4118806322ef40f0376fdc7a6c3a501923788eb/src/windows.rs#L80
memory is only allocated for a single HMODULE, but we actually need a whole array, which then needs to be searched for the requested module

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions