You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2023/05/09 06:52:05 UTC

[GitHub] [nuttx] anchao commented on a diff in pull request #9208: sim/asan: disable detect_invalid_pointer_pairs/detect_stack_use_after_return

anchao commented on code in PR #9208:
URL: https://github.com/apache/nuttx/pull/9208#discussion_r1188209171


##########
arch/sim/src/sim/sim_head.c:
##########
@@ -113,8 +113,6 @@ const char *__asan_default_options(void)
          " alloc_dealloc_mismatch=0"
          " allocator_frees_and_returns_null_on_realloc_zero=0"
          " check_initialization_order=1"
-         " detect_invalid_pointer_pairs=2"
-         " detect_stack_use_after_return=1"

Review Comment:
   stack check of asan will have a misjudgment. In the coroutine environment, asan always checks the host  stack  top/bottom.



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org