| 2192 | } |
| 2193 | |
| 2194 | UINT 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 | |
| 2214 | BOOL DETOUR_IA64_BUNDLE::SetNop(BYTE slot) |
| 2215 | { |
no test coverage detected