Commit Graph

68 Commits

Author SHA1 Message Date
openharmony_ci
e185495bb9
回退 'Pull Request !6378 : Enable forward CFI and PAC backward CFI' 2024-03-14 01:20:39 +00:00
chenjx-huawei
c0cc558bb2 Enable forward CFI and PAC backward CFI
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I965JE

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I39cd162bdcc4c5e5796e75835bb5229fc7839aca
2024-03-12 11:18:45 +08:00
caolili123
56c953a73e issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I93VMR
Signed-off-by: caolili123 <caolili14@huawei.com>
2024-02-27 15:17:14 +08:00
caolili123
2958cf417a issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I91ELG
Signed-off-by: caolili123 <caolili14@huawei.com>
2024-02-20 14:14:46 +08:00
chenjx-huawei
dca448bd02 Enable ubsan for user mode binary build
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I8ZQE2

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I1eeb2886107f24462822fd6368b3536393a30e96
2024-02-06 17:12:32 +08:00
wengchangcheng
13f8e6dd70 Decrease ut cost time
Run context in release mode

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8PS2W

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Iff49bfd86e3cc4fb6118df86d47fdb09398f0826
2023-12-19 21:15:14 +08:00
hzzhouzebin
6e19efffbb Adapt hsp
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8LQ9P
Change-Id: I80c1dbf036fbb5e88eaa1f7413e8dca0af465b97
2023-12-08 14:19:38 +08:00
openharmony_ci
9e7a171164
!5130 跨平台统一宏整改
Merge pull request !5130 from qugr/2023_11_02_mqx
2023-11-07 07:34:11 +00:00
yingguofeng@huawei.com
d2ce6cc655 Feat(Aot/PGO/Runtime): Profile Transtion hclass type and aot
Issue: #I872U3
Change-Id: I148cdbc6ac95022cd8dc4a5ad19e526344bb82a3
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-11-06 22:15:31 +08:00
quguiren
2d2c1fcdcc Compile macro rectification
Signed-off-by: quguiren <quguiren@huawei.com>
2023-11-03 16:50:37 +08:00
yanpeng
14787a9067 test262 arm64适配aot
Signed-off-by: yanpeng <yanpeng51@huawei.com>
Change-Id: I0e8daf24cc4b5ea2fece292b72287bb526112e45
2023-10-24 17:33:10 +08:00
hwx1163501
52fe048741 The code has security issues
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7JY3Y
2023-07-13 09:06:57 +08:00
xiongluo
33d1e58853 reduce the test time of context unittest
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: I9b5f0d68d89803ac991a2e58f14f03a4aa5a1b9b
2023-07-08 19:43:33 +08:00
xiongluo
d04a78f195 support multi context
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: If708bb8d514503105e965226532dad41c12d73d7
2023-07-03 21:30:19 +08:00
Zhenyu Pan
c18af4cf5d Add deps for ArkUI-X until it resolving resolve external_deps
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7CJK2

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I2dcb934df8d2b8e1d532aeb2bbbec8f2907376a4
2023-06-12 11:23:11 +08:00
wuwanqi
3073f99ffe Rectify bundle.json
Rectify bundle.json and deps of BUILD.gn
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78UW4?from=project-issue

Signed-off-by: wuwanqi <wuwanqi2@huawei.com>
Change-Id: Iabaeca1c38765cc3d716ebf1b0157f38597f87a8
2023-05-27 22:32:29 +08:00
wengchangcheng
01121dd6d8 Fix Log print error in intl
Add ENABLE_HILOG defines in intl source_set

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6O7R9

Test: UT & 262

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5f77533baec9575f495b068d516528d0697b8421
2023-03-24 20:34:46 +08:00
openharmony_ci
49abccb005
!3444 Modify some absolute path in arkcompiler
Merge pull request !3444 from weng-changcheng/modify_absolute_path
2023-02-28 08:04:52 +00:00
wuzhefeng
f7c3e927eb Reformat the help information
Reformat the help information and provide more friendly help.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6I6OZ

Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>

Change-Id: Ic247f60155b47763f705b01a176afc340aab6c80
2023-02-27 03:58:19 -08:00
wengchangcheng
5761f9e020 Descriptor: Modify some absolute path in arkcompiler
Details: Add inner_kits in ets_runtime

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6B8AA

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I0a9d2c875652733113bec5849a67c974721cee41
2023-02-24 13:59:21 +08:00
wengchangcheng
7a171ba5de Descriptor: Fix daily build error
Details: Add limits header to common.h

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I693N0

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I04e6a22ebe5fbd3ef48884692557a86e52c5bcb8
2023-01-06 09:40:10 +08:00
wengchangcheng
d3e67c26fa Descriptor: Modify for ark standalone build
Details: Modify gn

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5Z3PY

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I577831c567bad4bfb6e67a2ed6a6f4fd2381b39a
2022-11-16 10:16:20 +08:00
wengchangcheng
32ef9871e7 Descriptor: Fix standalone build error
Details: modify gn and some template

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XGZ4

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Idca98896e01426fe055025efe8800ac01d27d3c5
2022-10-25 12:52:10 +08:00
wengchangcheng
0b947ac7d0 Descriptor: 部件化整改 ark -> arkcompiler
Details: 部件化整改 ark -> arkcompiler

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VJMH

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I01c72bafc95a7d469c9bb31cfcbac79b310dfac1
2022-10-13 22:23:53 +08:00
openharmony_ci
e6517860c9
!2576 Add quickfix testcases
Merge pull request !2576 from weng-changcheng/quickfix_testcases
2022-10-11 09:50:06 +00:00
linxiang
444e381051 add handlescope and add option control print execute pandafile spent time
Signed-off-by: linxiang <linxiang8@huawei.com>
Change-Id: I1e7cb9660f3a42f9c413dc2fce85b49fd5fb97cc
2022-10-11 14:32:15 +08:00
wengchangcheng
aaf47ba3d0 Descriptor: Add quickfix testcases
Details:
1. Add quickfix testcases
2. delete isPatch flag
3. use the same recore name of base and patch

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5UPMC

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I1e03addb8f37240557df899fbee8bc99beb97e92
2022-10-11 10:49:17 +08:00
Riachel
edd869622e Descriptor: fix some bugs for getopt
details: fix some bugs for getopt
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5SSDI

Signed-off-by: Riachel <caolili14@huawei.com>
2022-09-27 09:17:40 +08:00
Berlinnerly
8225a613ba Code alarm cleaning
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5SJ3B

Signed-off-by: Berlinnerly <zhouwenxuan1@huawei.com>
2022-09-23 09:42:02 +08:00
Riachel
6c42a60ca6 Descriptor: fix some bugs for getopt
details: fix some bugs for getopt
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5SK2H

Signed-off-by: Riachel <caolili14@huawei.com>
2022-09-22 18:35:00 +08:00
Riachel
e2698e926e Descriptor: delete pandargs.h and refactoring options
details: delete pandargs.h and refactoring options
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5Q05L

Signed-off-by: Riachel <caolili14@huawei.com>
2022-09-20 17:24:08 +08:00
yingguofeng@huawei.com
7ca0219102 fix(UT): Fix ark_js_host_unittest test failed in runing asan
Closes #I5Q3HC

Change-Id: Ic52a0b137bb71784f92d530cae4df582c7b53dcf
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-09-15 20:43:43 +08:00
changjiaxing
1045e70677 Merge abc bug fix and Code optimization
issues:I5Q0M8:merge abc don't support import npm package?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I29863b4ee9643fdfef3bd68f75bc849194bce62c
2022-09-09 16:44:33 +08:00
Riachel
ddc6d97ddd Descriptor: delete base_options.h
details: delete base_options.h
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5M2QW

Signed-off-by: Riachel <caolili14@huawei.com>
2022-08-18 09:59:22 +08:00
Riachel
2df62a6a96 Descriptor: modify LOG_ECMA
details: delete libpandabase/utils/logger.h
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5KTRL

Signed-off-by: Riachel <caolili14@huawei.com>
2022-08-10 17:21:58 +08:00
wengchangcheng
e7cc80fb39 Descriptor: Fix compiler of Windows
Details: Link pandabase for ark_js_vm

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5JONV

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I91e533cecfcf1300b899c65ac03dcf7772c303cd
2022-07-29 21:47:57 +08:00
Riachel
9757a02c51 Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into native_stack-and-trace 2022-07-29 09:17:24 +00:00
Riachel
d1b24f61db Descriptor: delete native_stack.h, trace.h and mem.h
details: delete native_stack.h, trace.h and mem.h
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5IS38

Signed-off-by: Riachel <caolili14@huawei.com>
2022-07-29 17:13:58 +08:00
wengchangcheng
1243fa6507 Descriptor: merge library to libark_jsruntime.so
details: use static link of pandafile and pandabase
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5JHY4

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ie630f5cd7d646c18d2518f793c5827f742d560c3
2022-07-29 10:35:32 +08:00
Riachel
96adb30222 Descriptor: delete native_stack.h, trace.h and mem.h
details: delete native_stack.h, trace.h and mem.h
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5IS38

Signed-off-by: Riachel <caolili14@huawei.com>
2022-07-28 19:15:13 +08:00
lordwithcc
ce4f286b7c Supplementary changes to independent compilation
Relate Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5GITN

Signed-off-by: lordwithcc <zhoucong40@huawei.com>
2022-07-28 17:34:05 +08:00
gongyuhang
d05d966299 Fix bugs of ark_js_vm.exe
Executing ark_js_vm.exe on windows by the logic of handling paths for linux
results in creating wrong moduleFullNames for the moduleManager. Add the logic
of handling paths for windows, fix test262 failure on windows. Make the
delimiter for paths sent in change from ':' to ';', fix test262 failure while
sending absolute paths for .js files on windows.

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5JB15
Test: windows 262test
Signed-off-by: gongyuhang <gongyuhang7@huawei.com>
2022-07-28 11:34:49 +08:00
openharmony_ci
c29332c1d9 !1833 fix fuzztest errro and add new fuzztest
Merge pull request !1833 from zhaozhibo/master

Change-Id: I1e83c46e25d0a7c342e5c8e7ca5ff61c745b7582
2022-07-25 08:49:51 +08:00
dingwen
bf637c1f41 modify arkcompiler_ets_runtime path
Description:modify arkcompiler_ets_runtime path
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5GE38

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I43e2aae687a4f05fe6505b0b0f70f0846d047b84
2022-07-14 12:35:04 +08:00
wengchangcheng
6e5a7e8362 Descriptor: ark hilog refactor
details:
1. use hilog in ohos device
2. use panda logger in host
issue:  https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
openharmony_ci
087de379dc
!1600 Adapt to new version and roll back ark independent compilation
Merge pull request !1600 from Zhoucong/master
2022-06-21 04:19:52 +00:00
lordwithcc
2448bc3213 Adapt to new version and roll back ark independent compilation
Signed-off-by: lordwithcc <zhoucong40@huawei.com>
2022-06-20 18:28:21 +08:00
wengchangcheng
cc184ba66c Descriptor: delete some internal unused code
details: delete unused code
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5COHE

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5fe62c58353839d4aac1144fc99e2cf87f4374eb
2022-06-17 23:03:42 +08:00
Gongyuhang
496687fe52 Desciption: Deal with the "use after free" error
occurs while debugging ark_js_vm executable on
windows.

Details: Enclose the part where the LocalScope
object should take effect with a pair of braces.
Thus, the destructor of the LocalScope object
will be called at the right brace which is above
the JSNApi::DestroyJSVM() function.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5C7XG

Signed-off-by: Gongyuhang <gongyuhang5@huawei.com>
2022-06-14 16:13:59 +08:00
luochuhao
172f5642c7 Modify enable logic of certain runtime options.
Change condtion for File execution branch to whether file is AOT compiled or not.

Fix bug of setting bc debug handler entry while loading stub file.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5BBFH
Signed-off-by: luochuhao <luochuhao@huawei.com>
Change-Id: I5b6d47a1587631849f6c1e746473cb14b1d727a8
2022-06-13 12:15:03 +08:00