XuNeo opened a new pull request, #15777: URL: https://github.com/apache/nuttx/pull/15777
## Summary 1. Add property of prevnode, nextnode to mempool block to make it has same behavior with heap node. In this way, the memory analysis can have a unified way to inspect memory, no matter for heap or pool. 3. Add warning if corrupted memory node(with 0 size) found. If the nodesize is 0, we cannot iterate to next node, siliently return None will cause memleak command to generate false positive report with no warnings. Add log to indicate such case. 4. fix regular expression to parse memory dump log There could be only one space ahead of address. ## Impact Now a warning is printed on corrupted memory node. memdump log parsing will work insided GDB too. ## Testing Tested with below memory dump log, now it can parse correctly. ``` [2025-01-09 21:53:13] [12/23 07:42:07] [85] [ap] PID Size Overhead Sequence Address Backtrace [2025-01-09 21:53:13] [12/23 07:42:07] [85] [ap] 13 112 48 16388 0x3c395f20 0x2c21d0b8 0x2c1f7b0a 0x2c1fd094 0x2c56e22e 0x2c7b4f12 0x2c31525c 0x2c31604c 0x2c31610e [2025-01-09 21:53:13] [12/23 07:42:07] [85] [ap] 0 112 48 6 0x3c395eb0 0x2c21ce08 0x2c21ce58 0x2c7d7902 0x2c1fd638 [2025-01-09 21:53:13] [12/23 07:42:07] [85] [ap] 0 112 48 8 0x3c395e40 0x2c21ce08 0x2c21ce58 0x2c205970 0x2c1fd678 [2025-01-09 21:53:13] [12/23 07:42:07] [85] [ap] 0 112 48 9 0x3c395dd0 0x2c21ce08 0x2c21ce58 0x2c1fd736 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org