Home
last modified time | relevance | path

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

/ohos5.0/base/security/code_signature/interfaces/innerkits/jit_code_sign/include/
H A Djit_buffer_integrity.h145 static inline int32_t PatchData(JitCodeSignerBase *signer, int offset, in PatchData() function
149 return signer->PatchData(offset, CAST_TO_CONST_BYTES(data), size); in PatchData()
160 static inline int32_t PatchData(JitCodeSignerBase *signer, void *address, in PatchData() function
164 return signer->PatchData(CAST_TO_BYTES(address), in PatchData()
H A Djit_code_signer_base.h50 int32_t PatchData(int offset, const Byte *const data, uint32_t size);
51 int32_t PatchData(Byte *buffer, const Byte *const data, uint32_t size);
/ohos5.0/base/security/code_signature/interfaces/innerkits/jit_code_sign/src/
H A Djit_code_signer_base.cpp87 int32_t JitCodeSignerBase::PatchData(int offset, const Byte *const data, uint32_t size) in PatchData() function in OHOS::Security::CodeSign::JitCodeSignerBase
106 int32_t JitCodeSignerBase::PatchData(Byte *buffer, const Byte *const data, uint32_t size) in PatchData() function in OHOS::Security::CodeSign::JitCodeSignerBase
111 return PatchData(static_cast<int>(buffer - tmpBuffer_), data, size); in PatchData()
/ohos5.0/base/security/code_signature/test/unittest/
H A Djit_code_sign_test.cpp266 PatchData(signer, offset, g_testPatchInstructionBuf, INSTRUCTION_SIZE);
269 PatchData(signer, CAST_VOID_PTR(reinterpret_cast<uintptr_t>(
411 EXPECT_EQ(PatchData(signer, offset, g_testPatchInstructionBuf,
695 EXPECT_EQ(PatchData(nullptr, 0, nullptr, 0), CS_ERR_NO_SIGNER);
696 EXPECT_EQ(PatchData(nullptr, nullptr, nullptr, 0), CS_ERR_NO_SIGNER);
761 EXPECT_EQ(PatchData(signer, 0, nullptr, 0), CS_ERR_INVALID_DATA);
764 EXPECT_EQ(PatchData(signer, reinterpret_cast<Byte *>(g_testInstructionBuf),
/ohos5.0/base/security/code_signature/
H A DREADME_zh.md62 | int32_t PatchData(JitCodeSignerBase *signer, int offset, const void *const data, uint32_t size); …
63 | int32_t PatchData(JitCodeSignerBase *signer, void *address, const void *const data, uint32_t size…