| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Memory optimization Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/IC64Y4 Signed-off-by: huyunhui1 <huyunhui3@huawei.com> Change-Id: I5a229d81422faa28136dccb5602fa738e86f5981 | 1 年前 | |
!14325 merge fix/hilog-external-deps into master Use external_deps for hilog innerapi headers Created-by: ElevenDuan Commit-by: ElevenDuan Merged-by: openharmony_ci Description: ### **Issue** https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11935 ### **Reason** runtime_core 治理规范禁止通过 include_dirs 以绝对路径引用其他部件的 innerAPI 头文件。libpandabase/BUILD.gn 的 arkbase_public_config 使用了 include_dirs += [ "$hilog_root/include" ](hilog_root = //base/hiviewdfx/hilog/interfaces/native/innerkits),属于违规引用 hilog 部件 innerAPI 头文件,需整改为 external_deps 方式。 ### **Description** 公共头 libpandabase/include/libpandabase/utils/logger.h 包含 #include <hilog/log.h>(#ifdef ENABLE_HILOG),下游目标编译该头时需要 hilog 头文件路径。整改内容: 1. 移除 arkbase_public_config 中的绝对路径 include_dirs; 2. 为每个编译 arkbase 公共头、但缺少 hilog 依赖的下游目标补充 external_deps += [ "hilog:libhilog" ](if (enable_hilog)),与 assembler/compiler/abc2program 等已有模块约定一致。涉及 abc2program/tests、assembler/tests、bytecode_optimizer/tests、compiler/tests、disassembler/tests、verifier/tests、panda_guard/tests、platforms/tests、plugins/ecmascript/tests、panda(ark_bin)、libark_defect_scan_aux、libabckit/abckit、libabckit/src/adapter_dynamic、libabckit/src/wrappers; 3. 移除 ark_root.gni 中已无引用的 hilog_root 变量; 4. **放宽 5 处仅在独立编译器模式(ohos_indep_compiler_enable)下生效的 hilog 依赖条件**:将 if (enable_hilog && defined(ohos_indep_compiler_enable) && ohos_indep_compiler_enable) 改为 if (enable_hilog),使这些目标在普通 OHOS 构建中也能获得 hilog 头文件(此前由 arkbase_public_config 的绝对路径 include 掩盖,移除后暴露为 'hilog/log.h' file not found)。涉及 libpandafile:libarkfile_static_verifier、libpandabase:libarkbase_static_fuzz、bytecode_optimizer、assembler、compiler(2 处)。独立编译器模式下行为不变(原条件在该模式下即等价于 enable_hilog)。 本次整改排除 static_core 目录。仅涉及 GN 构建配置,不涉及源码/字节码/指令变更。 ### **Tests** ninja all tests **All required pre-merge tests passed. Results are available in the internal CI.** ### **[Test Items](https://gitee.com/openharmony/arkcompiler_runtime_core/wikis)** ##### **1. Runtime Core UT(Release/Debug)** - [ ] Passed / [ ] Not involved ##### **2. Verifier Test** - [x] Not involved ##### **3. Fuzz Compilation Test** - [x] Not involved ##### **4. 64-bit RK Compilation** - [ ] Passed (本 PR 修复 rk3568 构建报错) ##### **5. Compile Mac Platform SDK** - [x] Not involved ##### **6. Command/abc format modification self-check** - [x] Not involved ##### **7. Panda_Guard version number change self-check** - [x] Not involved ##### **8. Compatibility Testing** - [x] Not affected — Changes do not involve API/bytecode version See merge request: openharmony/arkcompiler_runtime_core!14325 | 17 天前 | |
ADD CLAUDE.md Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9573 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Change-Id: I2cef2c1b50cc01013125bcb14c4a474f6b6aafc3 | 5 个月前 | |
Fix 3 vulnerability in disassembler Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11757 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Co-Authored-By: Agent Change-Id: I3d2457ad179f3f9c5df8223f3016a6568ee87c45 | 19 天前 | |
ADD CLAUDE.md Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9573 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Change-Id: I2cef2c1b50cc01013125bcb14c4a474f6b6aafc3 | 5 个月前 | |
Fix 3 vulnerability in disassembler Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11757 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Co-Authored-By: Agent Change-Id: I3d2457ad179f3f9c5df8223f3016a6568ee87c45 | 19 天前 | |
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 | 3 年前 | |
Add column number and test cases Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I8FXT1 test: build Signed-off-by: lphwork <liupenghui12@huawei.com> | 2 年前 | |
Fix 3 vulnerability in disassembler Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11757 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Co-Authored-By: Agent Change-Id: I3d2457ad179f3f9c5df8223f3016a6568ee87c45 | 19 天前 | |
Fix 3 vulnerability in disassembler Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11757 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Co-Authored-By: Agent Change-Id: I3d2457ad179f3f9c5df8223f3016a6568ee87c45 | 19 天前 | |
Fix 3 vulnerability in disassembler Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11757 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Co-Authored-By: Agent Change-Id: I3d2457ad179f3f9c5df8223f3016a6568ee87c45 | 19 天前 | |
Fix 3 vulnerability in disassembler Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/11757 Signed-off-by: xuhangqi <xuhangqi@huawei.com> Co-Authored-By: Agent Change-Id: I3d2457ad179f3f9c5df8223f3016a6568ee87c45 | 19 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 17 天前 | ||
| 5 个月前 | ||
| 19 天前 | ||
| 5 个月前 | ||
| 19 天前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 19 天前 | ||
| 19 天前 | ||
| 19 天前 | ||
| 19 天前 |