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

coctx_make 是否存在无效代码 #202

Open
bokereyu opened this issue Mar 21, 2023 · 1 comment
Open

coctx_make 是否存在无效代码 #202

bokereyu opened this issue Mar 21, 2023 · 1 comment

Comments

@bokereyu
Copy link

void **ret_addr = (void **)(sp);
*ret_addr = (void *)pfn;
这两句操作的是BP的内容,根本不是retrun adress ,所以在 swap的时候,这里操作的adress根本无效,还要 额外的记录一次返回地址。
不知这样理解是否正确,请指导

@hobby
Copy link

hobby commented Mar 21, 2023 via email

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

No branches or pull requests

2 participants