细粒度屏蔽cficheck

Signed-off-by: srr101 <songruirui1@huawei.com>
This commit is contained in:
srr101 2024-09-03 17:07:46 +08:00
parent c07e088980
commit 02ebdf0e59

View File

@ -136,7 +136,7 @@ ErrCode DataObsMgrClient::NotifyChange(const Uri &uri)
* *
* @return Returns SUCCESS on success, others on failure. * @return Returns SUCCESS on success, others on failure.
*/ */
std::pair<Status, sptr<IDataObsMgr>> DataObsMgrClient::GetObsMgr() __attribute__ ((no_sanitize("cfi"))) std::pair<Status, sptr<IDataObsMgr>> DataObsMgrClient::GetObsMgr()
{ {
std::lock_guard<std::mutex> lock(mutex_); std::lock_guard<std::mutex> lock(mutex_);