Skip to content

Loading an .exe image but not executing the entrypoint #523

@AudriusButkevicius

Description

@AudriusButkevicius

Thanks for a great library

I'm using blackbone to map an .exe into memory, and using functions from the .exe as a library.
Currently there is no way to map the executable without executing the entrypoint.

A few other things that would be nice:

  1. Expose each individual step of mmaping. For example I'd prefer mapping the image at it's preferred address via LoadLibrary. But I still need to perform tls init etc. It would nice if I could just point blackbone at an already loaded image, and do steps that I haven't done.
  2. A method to init the CRT, but not invoke main would be nice.

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