mirror of
https://gitee.com/openharmony/security_device_auth
synced 2024-11-23 07:40:02 +00:00
commit
be8de47bfa
@ -35,6 +35,8 @@ namespace OHOS {
|
||||
|
||||
bool RegisteLogFuzz(const uint8_t *data, size_t size)
|
||||
{
|
||||
(void)data;
|
||||
(void)size;
|
||||
struct log_func_group logFunc = {
|
||||
TestLogd,
|
||||
TestLogd,
|
||||
|
@ -59,6 +59,8 @@ static void NativeTokenSet(const char *procName)
|
||||
|
||||
bool FuzzDoCallback(const uint8_t* data, size_t size)
|
||||
{
|
||||
(void)data;
|
||||
(void)size;
|
||||
NativeTokenSet("device_manager");
|
||||
StubDevAuthCb *remoteObj = new(std::nothrow) StubDevAuthCb();
|
||||
if (remoteObj == nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user