MCPcopy Create free account
hub / github.com/acl-dev/acl / Copy

Method Copy

lib_fiber/cpp/src/detours/disasm.cpp:2194–2212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2192}
2193
2194UINT DETOUR_IA64_BUNDLE::Copy(_Out_ DETOUR_IA64_BUNDLE *pDst,
2195 _Inout_opt_ DETOUR_IA64_BUNDLE* pBundleExtra) const
2196{
2197 // Copy the bytes unchanged.
2198
2199#pragma warning(suppress:6001) // using uninitialized *pDst
2200 pDst->wide[0] = wide[0];
2201 pDst->wide[1] = wide[1];
2202
2203 // Relocate if necessary.
2204
2205 UINT nExtraBytes = RelocateBundle(pDst, pBundleExtra);
2206
2207 if (GetUnit1() == L_UNIT && IsBrl()) {
2208 pDst->SetBrlTarget(GetBrlTarget());
2209 }
2210
2211 return nExtraBytes;
2212}
2213
2214BOOL DETOUR_IA64_BUNDLE::SetNop(BYTE slot)
2215{

Callers 1

DetourCopyInstructionFunction · 0.80

Calls 1

SetBrlTargetMethod · 0.80

Tested by

no test coverage detected