Home
last modified time | relevance | path

Searched refs:DataProtect (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
H A Ddata_protect.h31 class DataProtect { class
33 DataProtect() : protect_pointer_(0) {} in DataProtect() function in panda::panda_file::DataProtect
34 explicit DataProtect(const uintptr_t pointer) in DataProtect() function in panda::panda_file::DataProtect
43 ~DataProtect() = default;
125 protect_bool_ = DataProtect::DataProtectPac(flag ? PAC_TRUE : PAC_FALSE, in Update()
131 auto value = DataProtect::DataProtectAut(protect_bool_, reinterpret_cast<uintptr_t>(&protect_bool_)); in GetBool()
174 auto last_data = DataProtect::DataProtectAut(data_.back(), reinterpret_cast<uintptr_t>(&data_)); in Append()
178 data_.push_back(DataProtect::DataProtectPac(last_data, reinterpret_cast<uintptr_t>(&data_))); in Append()
182 data_.push_back(DataProtect::DataProtectPac(temp_data, reinterpret_cast<uintptr_t>(&data_))); in Append()
201 auto last_data = DataProtect in Append()
[all...]
H A Dfile.cpp328 static DataProtect start = DataProtect(); in CheckSecureMem()
329 static DataProtect end = DataProtect(); in CheckSecureMem()
/arkcompiler/runtime_core/libpandafile/tests/
H A Ddata_protect_test.cpp23 HWTEST(DataProtect, PacString, testing::ext::TestSize.Level0) in HWTEST()
39 HWTEST(DataProtect, PacBool, testing::ext::TestSize.Level0) in HWTEST()

Completed in 3 milliseconds