mirror of
https://github.com/openharmony/ability_form_fwk.git
synced 2026-08-24 15:54:34 -04:00
1acb986b85
ffrt队列存在小概率crash问题,将大fuzzer拆小并把用到ffrt的用例隔离到独立文件,缩小crash爆炸半径。 拆分详情: - formpublishadapter: 1→3 (7个ffrt用例集中到three) - formdataadapter: 1→5 (22个ffrt用例细分为two/three/four/five) - formcallbackadapter: 1→4 (0个ffrt,按功能拆分) - formeventadapter: 1→3 (5个ffrt用例拆到two/three) - formvisibilityadapter: 1→3 (6个ffrt用例集中到three) ffrt判定依据: 调用链触达FormXxxQueue::ScheduleTask→FormBaseSerialQueue→ffrt::queue::submit_h的用例归为高风险。 补注册: formpublishadapter_fuzzer和formcallbackadapter_fuzzer此前未在BUILD.gn中注册,本次一并补上。 Co-Authored-By: Claude <noreply@anthropic.com> 🤖 AI[100%] 🔧 Human Fixed[0%] 🧑 Human[0%] 👌 AI Adopted[100%] Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: I71a66209572a98d62a578fee67666496de2d992c Signed-off-by: luyangyi <luyangyi2@huawei.com>
25 lines
967 B
XML
25 lines
967 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (c) 2026 Huawei Device Co., Ltd.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<fuzz_config>
|
|
<fuzztest>
|
|
<!-- maximum length of a test input -->
|
|
<max_len>1000</max_len>
|
|
<!-- maximum total time in seconds to run the fuzzer -->
|
|
<max_total_time>200</max_total_time>
|
|
<!-- memory usage limit in Mb -->
|
|
<rss_limit_mb>4096</rss_limit_mb>
|
|
</fuzztest>
|
|
</fuzz_config> |