nuttx/libs/libc/symtab
liang.huang 6dea4d41ba libs/libc/symtab: fix bogus symbol size under SYMTAB_ORDEREDBYNAME
allsyms_lookup() derived a symbol's size from the physically next table
entry, assuming address order. Under CONFIG_SYMTAB_ORDEREDBYNAME the
table is sorted by name instead, producing a huge bogus size in
%pS/backtrace output.

Scan for the closest larger address instead of relying on table order.

Signed-off-by: liang.huang <liang.huang@houmo.ai>
Assisted-by: Claude Code:claude-sonnet-5
2026-08-05 21:51:25 +08:00
..
CMakeLists.txt libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
Kconfig lib_libvsprintf.c:add option in Kconfig to control "%p*" special format specifier. 2024-10-15 15:33:13 +08:00
Make.defs libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
symtab_allsyms.c libs/libc/symtab: fix bogus symbol size under SYMTAB_ORDEREDBYNAME 2026-08-05 21:51:25 +08:00
symtab_findbyname.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
symtab_findbyvalue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
symtab_sortbyname.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00