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

LinuxMonitor: add support for signals #399

Open
vitalych opened this issue Apr 5, 2020 · 0 comments
Open

LinuxMonitor: add support for signals #399

vitalych opened this issue Apr 5, 2020 · 0 comments

Comments

@vitalych
Copy link
Member

vitalych commented Apr 5, 2020

Currently, one needs to manually register a signal handler in the guest program to catch them and notify S2E. An alternative would be to instrument the kernel, like what is already done for segfaults and traps.

Check the last commits in the s2e-linux-kernel repo to see an example for segfaults and traps. Implementing signals is very similar. The kernel would essentially send a message to LinuxMonitor when there is a signal.

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

1 participant