You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally is_native_pc() only checked native_exec_areas.
But 6a8d7d2 added "is_dr_native_pc() ||" to include DR routines.
The problem is that is_native_pc is also used for at_native_exec_gateway().
If native_exec_areas is non-empty, it then considers dr_app_running_under_dynamorio to be a
place where we have to go native.
The query routine needs to be split: the native_elf calls should include DR entries, but gateway checks should not.
The text was updated successfully, but these errors were encountered:
Split off the uses of is_native_pc() as a test for targets that should
not re-takeover as a new routine is_stay_native_pc(). Use of
dr_app_running_under_dynamorio() was broken in the presence of non-empty
native_exec_areas by 6a8d7d2, causing its execution to go native.
Fixes#2371
Split off the uses of is_native_pc() as a test for targets that should
not re-takeover as a new routine is_stay_native_pc(). Use of
dr_app_running_under_dynamorio() was broken in the presence of non-empty
native_exec_areas by 6a8d7d2, causing its execution to go native.
Fixes#2371
Split off the uses of is_native_pc() as a test for targets that should
not re-takeover as a new routine is_stay_native_pc(). Use of
dr_app_running_under_dynamorio() was broken in the presence of non-empty
native_exec_areas by 6a8d7d2, causing its execution to go native.
Fixes#2371
mikelui
pushed a commit
to VANDAL/dynamorio-sigil2
that referenced
this issue
Apr 25, 2017
…RIO#2378)
Split off the uses of is_native_pc() as a test for targets that should
not re-takeover as a new routine is_stay_native_pc(). Use of
dr_app_running_under_dynamorio() was broken in the presence of non-empty
native_exec_areas by 6a8d7d2, causing its execution to go native.
FixesDynamoRIO#2371
Originally is_native_pc() only checked native_exec_areas.
But 6a8d7d2 added "is_dr_native_pc() ||" to include DR routines.
The problem is that is_native_pc is also used for at_native_exec_gateway().
If native_exec_areas is non-empty, it then considers dr_app_running_under_dynamorio to be a
place where we have to go native.
The query routine needs to be split: the native_elf calls should include DR entries, but gateway checks should not.
The text was updated successfully, but these errors were encountered: