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

The handling of syscalls should be unified #3

Open
mquinson opened this issue Oct 17, 2014 · 0 comments
Open

The handling of syscalls should be unified #3

mquinson opened this issue Oct 17, 2014 · 0 comments

Comments

@mquinson
Copy link
Owner

In https://github.com/mquinson/simterpose/blob/master/src/syscall_process.c#L1664 we have a very large switch case on the kind of syscall to be handled.

It would be much cleaner if the code handling each of them could be unified, with the {pre,post} functions merged together. I would prefer having one function per syscall in charge of handling both sides of the call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants