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

Method IsBrl

lib_fiber/cpp/src/detours/disasm.cpp:2073–2081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2071}
2072
2073BOOL DETOUR_IA64_BUNDLE::IsBrl() const
2074{
2075 // f.e. d.c. b.a. 9.8. 7.6. 5. 4. 3. 2. 1. 0.
2076 // c000 0070 0000 0000 0000 00 01 00 00 00 05 : brl.sptk.few
2077 // c8ff fff0 007f fff0 ffff 00 01 00 00 00 05 : brl.sptk.few
2078 // c000 0048 0000 0000 0001 00 00 00 00 00 05 : brl.sptk.many
2079 return ((wide[0] & 0x000000000000001e) == 0x0000000000000004 && // 4 or 5.
2080 (wide[1] & 0xe000000000000000) == 0xc000000000000000); // c or d.
2081}
2082
2083VOID DETOUR_IA64_BUNDLE::SetBrl()
2084{

Callers 1

DetourCopyInstructionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected