Commit Graph

4 Commits

Author SHA1 Message Date
lichenshuai
f026a5a6c9 [Bug]: 即使ARK_ASAN_ON未定义,仍有可能将ASAN_POISON_MEMORY_REGION编入,导致use after poison
为ASAN_POISON_MEMORY_REGION在添加一层宏,以保证ARK_ASAN_ON未定义时不会编入

Issue: #I9D8CI

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I4728275dad534f66f7635f50c24c6e775c9628ce
2024-04-01 14:19:53 +08:00
lukai
0fb2f1694f Support sharedHeap allocation
1. Implement SharedHeap and BaseHeap.
2. Adapt SharedSpace for allocation

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: Id7dd3510f04160e356ced5eee80b06f450386a13
2024-01-25 21:56:23 +08:00
yingguofeng@huawei.com
ed85aebbad Description:Memory Leak DFX
1、Add Global and Local Leak monitor and analysis tools
2、Enable asan in x86_64、arm and aarch64

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5F2IN?from=project-issue
Change-Id: I0d201aeb21a01c412c279876112ef24d272177ce
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-07-19 10:49:19 +08:00
wanyanglan
86cfe52253 add ark js_runtime
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00