Skip to content

C++ DLLs compiled with /MT crash #29

Description

@LeonardoNve

Hey, DLL compiled with /MT crash in x64 crashes instantly before DLL_PROCESS_ATTACH. This is because some CRT functions use RtlPcToFileHeader to get mapped image base. That function walks InvertedFunctionTable which is empty because Dynamic exception table is used instead. You need InvertedFunctionTable support for x64.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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