Home
last modified time | relevance | path

Searched refs:ActiveCode (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/interception/tests/
Dinterception_win_test.cc199 u8* ActiveCode; variable
207 if (ActiveCode == nullptr) { in LoadActiveCode()
208 ActiveCode = in LoadActiveCode()
212 ASSERT_NE(ActiveCode, nullptr); in LoadActiveCode()
219 ActiveCode[position++] = 0xC3; // Instruction 'ret'. in LoadActiveCode()
230 ActiveCode[position++] = 0x90; in LoadActiveCode()
233 *entry_point = (uptr)&ActiveCode[position]; in LoadActiveCode()
241 ActiveCode[position++] = 0x66; in LoadActiveCode()
242 ActiveCode[position++] = 0x90; in LoadActiveCode()
245 ActiveCode[position++] = 0x8B; in LoadActiveCode()
[all …]
/external/llvm-project/compiler-rt/lib/interception/tests/
Dinterception_win_test.cpp230 u8* ActiveCode; variable
260 if (ActiveCode == nullptr) { in LoadActiveCode()
261 ActiveCode = AllocateCode2GBAway((u8*)&InterceptorFunction); in LoadActiveCode()
262 ASSERT_NE(ActiveCode, nullptr) << "failed to allocate RWX memory 2GB away"; in LoadActiveCode()
269 ActiveCode[position++] = 0xC3; // Instruction 'ret'. in LoadActiveCode()
280 ActiveCode[position++] = 0x90; in LoadActiveCode()
283 *entry_point = (uptr)&ActiveCode[position]; in LoadActiveCode()
291 ActiveCode[position++] = 0x66; in LoadActiveCode()
292 ActiveCode[position++] = 0x90; in LoadActiveCode()
295 ActiveCode[position++] = 0x8B; in LoadActiveCode()
[all …]