Skip to content

sim/asan: disable detect_invalid_pointer_pairs/detect_stack_use_after_return#9208

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
anchao:23050802
May 9, 2023
Merged

sim/asan: disable detect_invalid_pointer_pairs/detect_stack_use_after_return#9208
xiaoxiang781216 merged 1 commit into
apache:masterfrom
anchao:23050802

Conversation

@anchao

@anchao anchao commented May 8, 2023

Copy link
Copy Markdown
Contributor

Summary

sim/asan: disable detect_invalid_pointer_pairs/detect_stack_use_after_return

These 2 detections will have some false positives in coroutine environment

Impact

N/A

Testing

ci-check

…_return

These 2 detections will have some false positives in coroutine environment

Signed-off-by: chao an <anchao@xiaomi.com>
@pkarashchenko

Copy link
Copy Markdown
Contributor

What is the reason for disabling?

@anchao

anchao commented May 8, 2023

Copy link
Copy Markdown
Contributor Author

These two options are not very friendly for some open source projects, here is an example, in fact pointer comparison should not be so strict:
#9207

Comment thread arch/sim/src/sim/sim_head.c
@xiaoxiang781216 xiaoxiang781216 merged commit bebddf3 into apache:master May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants