nxstyle: Add NativeSymbol to white list

Add the new symbol `NativeSymbol` to the white list,
and update the comments about the symbols that are
from WAMR project.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2024-09-28 17:10:32 +08:00 committed by Xiang Xiao
parent 523b72d095
commit 6edbde25e5
1 changed files with 7 additions and 1 deletions

View File

@ -227,8 +227,14 @@ static const char *g_white_suffix[] =
static const char *g_white_content_list[] =
{
/* Ref: wamr_custom_init.c */
/* Ref:
* nuttx-apps/examples/wamr_module/module_hello.c
* nuttx-apps/interpreters/wamr/wamr_custom_init.c
*
* They are from the WAMR project.
*/
"NativeSymbol",
"RuntimeInitArgs",
/* Ref: gnu_unwind_find_exidx.c */