mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-27 09:20:49 +00:00
update test/fuzztest/bundleinstallerhost_fuzzer/bundleinstallerhost_fuzzer.cpp.
Signed-off-by: Lotol <linxiangzhi@huawei.com>
This commit is contained in:
parent
1c98c6bbd3
commit
dd9a487656
@ -18,6 +18,7 @@
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include "bundle_installer_host.h"
|
||||
#include "bundle_mgr_service.h"
|
||||
#include "message_parcel.h"
|
||||
#include "securec.h"
|
||||
|
||||
@ -35,6 +36,7 @@ uint32_t GetU32Data(const char* ptr)
|
||||
bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
|
||||
{
|
||||
#ifdef ON_64BIT_SYSTEM
|
||||
DelayedSingleton<BundleMgrService>::GetInstance()->OnStop();
|
||||
uint32_t code = (GetU32Data(data) % MESSAGE_SIZE);
|
||||
MessageParcel datas;
|
||||
std::u16string descriptor = BundleInstallerHost::GetDescriptor();
|
||||
|
Loading…
Reference in New Issue
Block a user