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

revive probe mode container case #1281

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

revive probe mode container case #1281

derekbruening opened this issue Nov 28, 2014 · 0 comments

Comments

@derekbruening
Copy link
Contributor

From [email protected] on September 30, 2013 11:57:18

DR has long had hotpatching support that operates both with and without the
code cache. Turning that into a nice API for users to write probes was
never completed, however.

Xref https://code.google.com/p/drmemory/wiki/Projects#Probe_mode We made a new interface dr_register_probes() that supports raw addresses,
library offsets, or exported functions, but it is not completely finished.

For example, currently you can only call dr_register_probes() once, during
DR init. We'd like to support it being called at any time. The code
implies that we need to use an internal nudge if it's called later, though
we should revisit that.

Some issues mentioned in the code:

Old PR Issue
225548 Probe API: define status codes
225550 Probe API: generate unique probe id
225578 Probe API: implement internal nudge for dr_register_probes()
225580 Probe API: support multiple calls to dr_register_probes()
225654 Probe API: implement support for exported functions
225658 Probe API: implement support for raw virtual address probes and callbacks
225663 Probe API: validate probe definition upon registration
226578 Probe API: dr_register_probes should flush incompatible pcaches during both init and nudge => issue #660 229881 Probe API: probes return status codes and actions NYI
275129 Probe API sample
533384 Probe API: dr_register_probes() needs to return a success status

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

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