Commit Graph

37 Commits

Author SHA1 Message Date
openharmony_ci
8e7e0dea11
!2305 Add size and datapac for securemem interface
Merge pull request !2305 from yaochaonan/secure
2024-08-24 16:06:26 +00:00
openharmony_ci
fd99d71d38
!2297 Fix null pointer references
Merge pull request !2297 from 祈愿/nullptr
2024-08-24 15:55:46 +00:00
yaochaonan
86b4c3e74f Add size and datapac for secureMem
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAKDL6

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I17fb16af638fd4690fef4df23bd947e906f7e4dd
2024-08-24 14:44:44 +08:00
cllvly
c3324b4acf Fix null pointer references
Issue: IAKAK8
Tests: build target & UT

Signed-off-by: chenlong <chenlong292@h-partners.com>
Change-Id: I1e4e251cb5b9192390379537a8dddcb6d59c4166
2024-08-16 14:59:56 +08:00
cllvly
392efc5720 Fix double fclose
Issue: IAJR3S
Tests: build target

Signed-off-by: chenlong <chenlong292@h-partners.com>
Change-Id: I17155e044c4fbf484ea95cc06f3fae0debea4c59
2024-08-13 19:09:28 +08:00
hushuwang
f1a9a16177 Fix unreasonable use of parameters
Issue:IA4DZ1

Signed-off-by: hushuwang <hushuwang1@huawei.com>
Change-Id: I19cd67380056b645c64742f09afe9505ea54c52f
2024-06-11 15:59:18 +08:00
hushuwang
3f442f22dc Fix cast error from uint8_t to string
Issue: I9SYQ2

Signed-off-by: hushuwang <hushuwang1@huawei.com>
Change-Id: I4ff84da95e25678a660ca0a5b23117154dd1433d
2024-06-04 21:11:07 +08:00
openharmony_ci
68c2ffff71
!1736 Fix code check warnings
Merge pull request !1736 from 祈愿/path
2024-05-29 10:37:39 +00:00
cllvly
dab6dd711a Fix code check warnings
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I9LOYV
Tests: build target

Signed-off-by: chenlong <chenlong292@h-partners.com>

Change-Id: Iae06a687f148c58470c9f6d43ae5bc71effa503c
2024-05-28 14:37:43 +08:00
hushuwang
e88cb514b6 Fix cast error in hash_fuzzer_test
Issue:I9OUQV

Signed-off-by: hushuwang <hushuwang1@huawei.com>
Change-Id: I710058c9da44a934fb12f7c6123c1f66b6279ce7
2024-05-13 15:05:14 +08:00
hushuwang
93a8d8565a Add fuzz test cases
Issue: I9GELO
Signed-off-by: hushuwang <hushuwang1@huawei.com>
Change-Id: Ifef299eb9e84e4cb6c8b404b3fce038c23b09bb8
2024-05-13 09:40:53 +08:00
luoshiyu
f2194a27a1 Add fuzz tests for runtime core.
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I9GS3H
Tests: runtime_core_host_unittest
Signed-off-by: luoshiyu <luoshiyu2@h-partners.com>
Change-Id: I8032dccb2d5b0686d14e755caca3bda66489d6af
2024-05-11 09:16:06 +08:00
songqi
1e1876c9da Modify threeParty library as dynamic dependency
Issue: I6DNMT
Tests: UT/Standalone Build/ark_packages Target
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I9eecdd5fd5c69546468706c456cc13473799fadc
2023-02-08 15:29:31 +08:00
openharmony_ci
d11ac7d086
!326 [CodeCheck] Auto format the protection macros in header files
Merge pull request !326 from 胡晓炜/master
2023-02-01 02:23:18 +00:00
qiuyu
ed203b793f Fix potential handle leak
Fix potential handle leak

Issue: #I6AUHK
Signed-off-by: qiuyu <qiuyu22@huawei.com>
Change-Id: Ic2d17aa1414b1d2307f97d704a74d3fcf05b95c7
2023-01-18 17:44:57 +08:00
shawn_hu_ls
757889d5e3 Auto format the protection macros in header files
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I687G9?from=project-issue
Test: tdd

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-12-30 17:15:47 +08:00
songqi
d6f9076f51 Fix codeCheck warnings
Fix codeCheck warnings.

Issue: I66QJY
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I879922a718e48df8f44fd83a3f3733a28f11ffdc
2022-12-20 09:04:27 +08:00
songqi
2aaf2bd93a Fix codeCheck warnings
Fix codeCheck warnings.

Issue: I66P94
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I93ebb2dfba07c5918247750c50034b98c599b96c
2022-12-19 16:12:18 +08:00
shawn_hu_ls
178bc12af5 Fix lost fuzz_config_file in some fuzz test cases
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I65GW6?from=project-issue
Test: fuzz

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-12-09 14:37:46 +08:00
songqi
d1f876324e Fix running error of TDD test cases on the device
Fix running error of Tdd test cases on the device caused by link symbols not being found.

Issue: I62NCV
Test: device unit test
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I62d2404430dbc41e1881c34c5b07b9aa2c07678f
2022-11-23 05:27:25 +00:00
songqi
6d57cb5d16 Fix failure of ark standalone build
Fix ark standalone build failure caused by test helper gni config file.

Issue: I624WS
Test: runtime_core UT, ark standalone build
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I4280b3338b5e9f5137f3f7c5b9b11240b10be144
2022-11-21 02:50:05 +00:00
songqi
6c5a1713c3 Add TDD test cases
Add TDD test cases to verify code correctness.

Issue: I61M8D
Test: unit test
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: I8313d2b4445b78315730c88d7515bc20249a819e
2022-11-19 10:04:53 +00:00
wangyantian
00f455a6e2 Add fuzztests and the check of source code
- Add fuzztests for five methods and the failure of these tests are also fixed
  methods including: WriteByte, OpenArchive, ReadOsFile, two constructors of JsonObject
- Source code may be empty in some cases, so add check before getting it

Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5YVN7
Test: fuzztest

Signed-off-by: wangyantian <wangyantian@huawei.com>
Change-Id: I9fb01cbda2462c0c2c5e0dd6c2f4af23b336dc57
2022-11-03 20:34:48 +08:00
shawn_hu_ls
c1a436ccd9 Fix SEGV in runtime_core fuzztests
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5Y4J0?from=project-issue

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-10-29 20:25:25 +08:00
songqi
c0e8b455da Fix codecheck warnings
Fix codecheck warnings.

Issue: I5T8IL
Signed-off-by: songqi <songqi32@huawei.com>
2022-09-27 13:31:36 +08:00
songqi
b45ec1bec7 Fix codecheck warnings
Fix codecheck warnings.

Issue: I5QHOC
Signed-off-by: songqi <songqi32@huawei.com>
Change-Id: Ie691be3ab83524d850e70e6397ea218890185fb2
2022-09-22 15:00:54 +08:00
shawn_hu_ls
596630ce87 Fix undef symbol __emutls_get_address for runtime_core fuzztest building without musl
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5OB3B?from=project-issue

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-08-26 17:48:07 +08:00
huangyu
c658ccf319 Update runtime_core code
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5G96F
Test: Test262 suit, ark unittest, rk3568 XTS, ark previewer demo

Signed-off-by: huangyu <huangyu76@huawei.com>
Change-Id: I3f63d129a07deaa27a390f556dcaa5651c098185
2022-07-17 10:20:32 +08:00
shawn_hu_ls
c7dbe79f10 Switch path name from ark to arkcompiler
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5GE38

Description: Switch path name from ark to arkcompiler

Test: NA

Signed-off-by: shawn_hu_ls <huxiaowei3@huawei.com>
2022-07-11 19:53:42 +08:00
胡晓炜
ea5f8063d2 Merge branch 'master' of gitee.com:openharmony/ark_runtime_core into master 2022-05-27 16:12:32 +00:00
wangyantian
b51c820426 Add fuzztest
Signed-off-by: wangyantian <wangyantian@huawei.com>
Change-Id: I51b6e6e2bc08eb42a1fee73ab8586fc19823a873
2022-05-27 20:42:44 +08:00
shawn_hu_ls
79440f1213 Add fuzztest part 2
Signed-off-by: shawn_hu_ls <huxiaowei0506@hotmail.com>
2022-05-27 09:53:01 +08:00
Nazarov Konstantin
0e816de312 issues 231 done
Signed-off-by: Nazarov Konstantin <nazarov.konstantin@huawei.com>
2022-03-29 16:46:04 +03:00
Ilya Trubachev
333ccf0f98 copyright update
Signed-off-by: Ilya Trubachev <trubachev.ilya@huawei.com>
2022-03-25 13:17:51 +03:00
Ilya Trubachev
696c911665 misprints fix
Signed-off-by: Ilya Trubachev <trubachev.ilya@huawei.com>
2022-03-15 14:49:59 +03:00
y00576111
a4599e5405 upload runtime_core
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I2509006818624fd3960ef645165fdb1f317d3d5e
2021-09-07 21:51:18 +08:00
wanyanglan
14c9021696 add ark runtime_core
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I2564094cef9c6c41263e37faf9ffbbec14223dc7
2021-09-05 20:53:43 +08:00