static bool event_exception(void* drcontext, dr_exception_t* excpt) {
DWORD exception_code = excpt->record->ExceptionCode;
if (exception_code == EXCEPTION_ACCESS_VIOLATION) {
return false; // tried "true" and "dr_redirect_execution()" as well...
}
return true;
}
// ...
drmgr_register_exception_event(event_exception);
--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/476dac81-fc2d-4a88-a908-26a183dfb26cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/55358240-35e4-499e-ae2a-c1b04c6dfe32n%40googlegroups.com.
Thank you, I'll see if that is an approach that works.I think the hint on the JIT is also useful, I'll try running the JVM process with JIT disabled for analysis purposes, i.e., with -Djava.compiler=NONE -Xint. (initial experiments show that this at least prevents DR from crashing for me)
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/6cb953c8-f42a-4469-903d-2e684d70884en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dynamorio-users/eaf78d37-96e2-4277-87f5-83423f0a591fn%40googlegroups.com.