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

Handling fault in Umbra #2

Open
toshipiazza opened this issue Jan 13, 2018 · 0 comments
Open

Handling fault in Umbra #2

toshipiazza opened this issue Jan 13, 2018 · 0 comments

Comments

@toshipiazza
Copy link
Owner

32-bit users of Umbra require custom fault handling logic when writing to a read-only page shared shadow memory page. Currently, we write the last app address to a spill slot, which was already going to be a temporary hacky solution.

Here are some issues with the current setup:

  1. users of the drtaint library cannot use this particular spill slot
  2. it is slow to pessimistically save to this spill slot, despite the possibility that no fault ever occurs

drmemory's fastpath for handling faults in the inlined code looks like this

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