MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / GetLdrpInvertedFunctionTableOffset

Function GetLdrpInvertedFunctionTableOffset

Src/CebuLoader/UnexportedWinApi.cpp:113–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 std::pair<std::string, size_t> GetLdrpInvertedFunctionTableOffset()
114 {
115 // AFAIK only Win7 requires passing LdrpInvertedFunctionTable pointer to RtlInsertInvertedFunctionTable
116 if (IsWindows8OrGreater())
117 QuietAbort();
118 else if (IsWindows7OrGreater())
119 return { "\x89\x5D\xE0\x38"s, -0x1B };
120 else
121 QuietAbort();
122 }
123#endif
124
125 struct UNICODE_STR

Callers 1

Calls 3

QuietAbortFunction · 0.85
IsWindows8OrGreaterFunction · 0.70
IsWindows7OrGreaterFunction · 0.70

Tested by

no test coverage detected