Skip to content

The handling of syscalls should be unified #3

Description

@mquinson

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions