diff --git a/frameworks/innerkitsimpl/test/fuzztest/imageaccessor_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imageaccessor_fuzzer/corpus/init index 6198079a28e860189d4294f6598f8ac6804c0dff..7ade8a0faafeaedba7241e7d4a97b8e1f9691932 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imageaccessor_fuzzer/corpus/init +++ b/frameworks/innerkitsimpl/test/fuzztest/imageaccessor_fuzzer/corpus/init @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertp010yuv2rgb2_fuzzer/BUILD.gn b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertp010yuv2rgb2_fuzzer/BUILD.gn index b226b4d8f35810b19ee31d4f99c6e5ee4dbccd78..2faecd9adef3ceeaf7f1ed9ae97abb8a7826a46b 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertp010yuv2rgb2_fuzzer/BUILD.gn +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertp010yuv2rgb2_fuzzer/BUILD.gn @@ -28,9 +28,9 @@ ohos_fuzztest("Imagefwkconvertp010yuv2rgb2FuzzTest") { defines = [ "EXT_PIXEL" ] - deps = [ + deps = [ "$image_subsystem/interfaces/innerkits:image_native", - "$image_subsystem/frameworks/innerkitsimpl/utils:image_utils", + "$image_subsystem/frameworks/innerkitsimpl/utils:image_utils" ] external_deps = [ @@ -38,4 +38,4 @@ ohos_fuzztest("Imagefwkconvertp010yuv2rgb2FuzzTest") { "hilog:libhilog", "ipc:ipc_core", ] -} \ No newline at end of file +} diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertpixelmapformat_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertpixelmapformat_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertpixelmapformat_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuv_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuv_fuzzer/corpus/init index e7c3fecd8d4d4816e40088113a2316bb9eb2e13f..14cddafc02dab1563ad53641643adc8357882071 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuv_fuzzer/corpus/init +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuv_fuzzer/corpus/init @@ -1,14 +1,16 @@ -# Copyright (c) 2024 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. +/* + * Copyright (c) 2025 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 \ No newline at end of file +FUZZ diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuvp010_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuvp010_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertrgb2yuvp010_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertyuv2rgb_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertyuv2rgb_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkconvertyuv2rgb_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodebmp_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodebmp_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodebmp_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodeext_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodeext_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodeext_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodegif_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodegif_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodegif_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodehdr2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodehdr2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodehdr2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodehdr_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodehdr_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodehdr_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodeheif_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodeheif_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodeheif_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodejpeg2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodejpeg2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodejpeg2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodejpeg_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodejpeg_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodejpeg_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodepng2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodepng2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodepng2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodepng_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodepng_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodepng_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodesvg2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodesvg2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodesvg2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodesvg_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodesvg_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkdecodesvg_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodeext2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodeext2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodeext2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodegif2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodegif2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodegif2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodejpeg2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodejpeg2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkencodejpeg2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifdng2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifdng2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifdng2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifdng_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifdng_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifdng_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifheif2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifheif2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifheif2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifheif_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifheif_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifheif_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifjpeg2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifjpeg2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifjpeg2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifjpeg_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifjpeg_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifjpeg_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/include/image_fwk_exif_png_fuzzer.h b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/include/image_fwk_exif_png_fuzzer.h index 144e546e6a2d3ff9aa584fa5e307dc49e53e58d4..b60f286761ae994fb0269f80907ebc7347551133 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/include/image_fwk_exif_png_fuzzer.h +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng2_fuzzer/include/image_fwk_exif_png_fuzzer.h @@ -12,8 +12,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_JNG_FUZZER_H -#define FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_JNG_FUZZER_H +#ifndef FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_PNG_FUZZER_H +#define FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_PNG_FUZZER_H #define FUZZ_PROJECT_NAME "image_fwk_exif_png_fuzzer" #endif \ No newline at end of file diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/include/image_fwk_exif_png_fuzzer.h b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/include/image_fwk_exif_png_fuzzer.h index 144e546e6a2d3ff9aa584fa5e307dc49e53e58d4..b60f286761ae994fb0269f80907ebc7347551133 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/include/image_fwk_exif_png_fuzzer.h +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifpng_fuzzer/include/image_fwk_exif_png_fuzzer.h @@ -12,8 +12,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_JNG_FUZZER_H -#define FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_JNG_FUZZER_H +#ifndef FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_PNG_FUZZER_H +#define FRAMEWORKS_INNERKITSIMPL_TEST_FUZZTEST_IMAGE_FWK_EXIF_PNG_FUZZER_H #define FUZZ_PROJECT_NAME "image_fwk_exif_png_fuzzer" #endif \ No newline at end of file diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifwebp2_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifwebp2_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifwebp2_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifwebp_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifwebp_fuzzer/corpus/init new file mode 100644 index 0000000000000000000000000000000000000000..14cddafc02dab1563ad53641643adc8357882071 --- /dev/null +++ b/frameworks/innerkitsimpl/test/fuzztest/imagefwkexifwebp_fuzzer/corpus/init @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagepixelYuv_fuzzer/corpus/init b/frameworks/innerkitsimpl/test/fuzztest/imagepixelYuv_fuzzer/corpus/init index e7c3fecd8d4d4816e40088113a2316bb9eb2e13f..65af8ee8d11bf23407ea34d4de49f7cbb6a2b791 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imagepixelYuv_fuzzer/corpus/init +++ b/frameworks/innerkitsimpl/test/fuzztest/imagepixelYuv_fuzzer/corpus/init @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 2025 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 diff --git a/frameworks/innerkitsimpl/test/fuzztest/imagepngplugin2_fuzzer/BUILD.gn b/frameworks/innerkitsimpl/test/fuzztest/imagepngplugin2_fuzzer/BUILD.gn index d66b2c3a690018aa418910592248b5cbf5621588..c42236ae5c9ca363c0094101e7da782ce759547b 100644 --- a/frameworks/innerkitsimpl/test/fuzztest/imagepngplugin2_fuzzer/BUILD.gn +++ b/frameworks/innerkitsimpl/test/fuzztest/imagepngplugin2_fuzzer/BUILD.gn @@ -41,8 +41,6 @@ ohos_fuzztest("ImagePngPlugin2FuzzTest") { "graphic_2d:color_manager", "hilog:libhilog", "libpng:libpng", + "libexif:libexif", ] - if (enable_libexif) { - external_deps += [ "libexif:libexif" ] - } }