MCPcopy Create free account
hub / github.com/delinoio/oss / SetCodeModule

Method SetCodeModule

crates/fspy_detours_sys/detours/src/disasm.cpp:927–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925BOOL CDetourDis::s_fLimitReferencesToModule = FALSE;
926
927BOOL CDetourDis::SetCodeModule(PBYTE pbBeg, PBYTE pbEnd, BOOL fLimitReferencesToModule)
928{
929 if (pbEnd < pbBeg) {
930 return FALSE;
931 }
932
933 s_pbModuleBeg = pbBeg;
934 s_pbModuleEnd = pbEnd;
935 s_fLimitReferencesToModule = fLimitReferencesToModule;
936
937 return TRUE;
938}
939
940///////////////////////////////////////////////////////// Disassembler Tables.
941//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected