From 5736f6210aa5ff6d2fa962857e193c8d8265979d Mon Sep 17 00:00:00 2001 From: rex <1491721419@qq.com> Date: Wed, 24 Sep 2025 16:30:23 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/.gitignore | 3 --- .idea/BestPracticeSnippets.iml | 8 ------- .idea/git_toolbox_blame.xml | 6 ----- .idea/git_toolbox_prj.xml | 15 ------------ .idea/misc.xml | 6 ----- .idea/modules.xml | 8 ------- .idea/vcs.xml | 6 ----- .idea/workspace.xml | 43 ---------------------------------- 8 files changed, 95 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/BestPracticeSnippets.iml delete mode 100644 .idea/git_toolbox_blame.xml delete mode 100644 .idea/git_toolbox_prj.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 359bb530..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml diff --git a/.idea/BestPracticeSnippets.iml b/.idea/BestPracticeSnippets.iml deleted file mode 100644 index 61021940..00000000 --- a/.idea/BestPracticeSnippets.iml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml deleted file mode 100644 index 7dc12496..00000000 --- a/.idea/git_toolbox_blame.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/git_toolbox_prj.xml b/.idea/git_toolbox_prj.xml deleted file mode 100644 index 02b915b8..00000000 --- a/.idea/git_toolbox_prj.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 3ce35882..00000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 891e6bbf..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index af4e951f..00000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - { - "associatedIndex": 2 -} - - - - { - "keyToString": { - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.ShowReadmeOnStart": "true" - } -} - - - - - - - - - - - - - \ No newline at end of file -- Gitee From 5229e39a058cf02eb2ce11ae80dcaf9a1ac3560f Mon Sep 17 00:00:00 2001 From: wsl <1105069392@qq.com> Date: Wed, 24 Sep 2025 16:46:02 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wsl <1105069392@qq.com> --- MemoryDetection/entry/src/main/cpp/address_problems.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MemoryDetection/entry/src/main/cpp/address_problems.cpp b/MemoryDetection/entry/src/main/cpp/address_problems.cpp index 2839bce2..460afb33 100644 --- a/MemoryDetection/entry/src/main/cpp/address_problems.cpp +++ b/MemoryDetection/entry/src/main/cpp/address_problems.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +#include #include /** -- Gitee From 75651ecf6dd80f05070dbf23fba779e04aed11b6 Mon Sep 17 00:00:00 2001 From: wsl <1105069392@qq.com> Date: Wed, 24 Sep 2025 16:47:05 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0abi=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wsl <1105069392@qq.com> --- MemoryDetection/entry/build-profile.json5 | 1 + 1 file changed, 1 insertion(+) diff --git a/MemoryDetection/entry/build-profile.json5 b/MemoryDetection/entry/build-profile.json5 index 4260b3d2..de2161fa 100644 --- a/MemoryDetection/entry/build-profile.json5 +++ b/MemoryDetection/entry/build-profile.json5 @@ -8,6 +8,7 @@ */ // [Start set_arguments] "arguments": "-DOHOS_ENABLE_HWASAN=ON", + "abiFilters": ["x86_64", "arm64-v8a"] // [End set_arguments] } }, -- Gitee From 769bd6f7d6fce48f87934582da30143c9586a9ab Mon Sep 17 00:00:00 2001 From: wsl <1105069392@qq.com> Date: Wed, 24 Sep 2025 17:04:11 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wsl <1105069392@qq.com> --- BptaUseResources/build-profile.json5 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BptaUseResources/build-profile.json5 b/BptaUseResources/build-profile.json5 index 9e87e7e6..f120cc13 100644 --- a/BptaUseResources/build-profile.json5 +++ b/BptaUseResources/build-profile.json5 @@ -12,6 +12,9 @@ "strictMode": { "caseSensitiveCheck": true, "useNormalizedOHMUrl": true + }, + "packOptions": { + "enableSourceCodeCheck": false } } } -- Gitee From 77b046d1ef545dd4743a401f3b8e0d87c9d53d6f Mon Sep 17 00:00:00 2001 From: wsl <1105069392@qq.com> Date: Thu, 25 Sep 2025 11:34:51 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=86=85=E5=AD=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wsl <1105069392@qq.com> --- NodeAPIDevelopment/entry/src/main/cpp/napi_init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NodeAPIDevelopment/entry/src/main/cpp/napi_init.cpp b/NodeAPIDevelopment/entry/src/main/cpp/napi_init.cpp index 69ca16e9..7baaac1d 100644 --- a/NodeAPIDevelopment/entry/src/main/cpp/napi_init.cpp +++ b/NodeAPIDevelopment/entry/src/main/cpp/napi_init.cpp @@ -65,7 +65,7 @@ static napi_value GetArgvDemo1(napi_env env, napi_callback_info info) { // Business code // ... ... // The object created by argv for new is manually released after use - delete argv; + delete[] argv; return nullptr; } -- Gitee