Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing start_switch_fiber and finish_switch_fiber for uthread to enable address sanitizer #273

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

4kangjc
Copy link
Collaborator

@4kangjc 4kangjc commented Dec 23, 2022

Why

Closes #178

What is changing

Example

@@ -11,7 +11,7 @@ if(${UTHREAD})
# for the user thread.
# FIXME2: the new added sanitize action: address-use-after-return
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个注释是不是可以删除了

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#ifdef AS_INTERNAL_USE_ASAN
const void* asan_stack_bottom = nullptr;
std::size_t asan_stack_size = 0;
void* asan_fack_stack = nullptr;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fack or fake?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fake,写错了

@RainMark
Copy link
Collaborator

thanks,rest lgtm

@RainMark RainMark merged commit 8408bb4 into alibaba:main Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants