Home
last modified time | relevance | path

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

/ohos5.0/base/security/code_signature/test/unittest/
H A Djit_code_sign_test.cpp40 #define CAST_VOID_PTR(buffer) (reinterpret_cast<void *>(buffer)) macro
72 static void *g_testInstructionBuf = CAST_VOID_PTR(g_testInstructionSet);
74 static void *g_testPatchInstructionBuf = CAST_VOID_PTR(g_testPatchInstructionSet);
77 void *g_mapJitBase = CAST_VOID_PTR(0x800000000);
78 void *g_mapJitBase2 = CAST_VOID_PTR(0x800001000);
256 AppendData(signer, CAST_VOID_PTR(&g_testInstructionSet[i]), patchSize);
269 PatchData(signer, CAST_VOID_PTR(reinterpret_cast<uintptr_t>(
271 CAST_VOID_PTR(&g_testPatchInstructionSet[1]),
401 AppendData(signer, CAST_VOID_PTR(&g_testInstructionSet[i]), patchSize);
449 PatchInstruction(signer, CAST_VOID_PTR(
[all …]