Skip to content

SEH handler gets installed after DLLMain() call #5

@BigJim

Description

@BigJim

The optional SEH handler local implementation of RtlInsertInvertedFunctionTable() is called after the DLLMain() gets called in LdrMapDllMemory.

If an exception happens in DLLMain() it won't be caught (and thus becomes "unhandled").

It would be better to have the exception handler be installed before DLLMain() and is default behavior for the OS too.

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