MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / DosHeader

Method DosHeader

include/LAAPatcher.hpp:98–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 PIMAGE_DOS_HEADER DosHeader() { return reinterpret_cast<PIMAGE_DOS_HEADER>(m_buffer.data()); }
99 PIMAGE_NT_HEADERS NtHeaders() { return reinterpret_cast<PIMAGE_NT_HEADERS>(m_buffer.data() + DosHeader()->e_lfanew); }
100
101 bool IsLAAEnabled() const { return (const_cast<PEFile*>(this)->NtHeaders()->FileHeader.Characteristics & IMAGE_FILE_LARGE_ADDRESS_AWARE) != 0; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected