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

treat client meta-code differently than app code wrt system calls and exceptions #55

Open
derekbruening opened this issue Nov 27, 2014 · 0 comments

Comments

@derekbruening
Copy link
Contributor

From derek.br...@gmail.com on February 24, 2009 14:47:14

this was PR 213600

We may want to split client interface code into two modes:
acting-as-application and acting-at-meta-level. If the client is
transforming the application code, then system calls or exceptions in
client-introduced code should be treated as any other app code. However,
for client code that is merely observing and analyzing, we should provide
support for treating that like we treat hotpatch code or DR code: don't
interrupt control for syscalls (if meta-client-code is acting while a
thread is UNDER_DYN_HACK or for some reason native_exec) and don't throw
exceptions back to the app (xref hotpatch exceptions, try-except support
for clients w/o them mucking w/ application exception handlers, etc.)

A good example here is for clean call args that reference memory, where the
client may prefer to receive the fault itself rather than it being treated
as an app exception (xref PR 302951).

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=55

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

1 participant