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
#1848 added auto-generation of syscall number files to Dr. Memory. But since it requires libraries that do not work well in clients, it has to be done from a frontend. But since drsyscall's initialization to figure out whether the current kernel needs auto-generation does not work from standalone mode (it uses module_data_t for ntdll to check syscall numbers, for one thing), Dr. Memory launches the app and if the client exits with a certain exit code, the frontend generates a syscall file and re-launches. We then copied this approach for drstrace and drltrace.
This is not very user-friendly. Consider #2273 where for our own tests it is a pain to operate on recent Win10 machines. This issue covers coming up with a better solution. One simple step would be to get the drsyscall check for whether to generate to work in standalone mode and then provide a version of drrun with it baked in? We should at least share generate_sysnum_file() as a drsyscall library routine.
The text was updated successfully, but these errors were encountered:
Adds use of a sysnum file generated by a prior Dr. Memory test to the
drmf tests which use dryscall. #2279 covers a better long-term solution.
Fixes#2273
Adds use of a sysnum file generated by a prior Dr. Memory test to the
drmf tests which use dryscall. #2279 covers a better long-term solution.
Fixes#2273
#1848 added auto-generation of syscall number files to Dr. Memory. But since it requires libraries that do not work well in clients, it has to be done from a frontend. But since drsyscall's initialization to figure out whether the current kernel needs auto-generation does not work from standalone mode (it uses module_data_t for ntdll to check syscall numbers, for one thing), Dr. Memory launches the app and if the client exits with a certain exit code, the frontend generates a syscall file and re-launches. We then copied this approach for drstrace and drltrace.
This is not very user-friendly. Consider #2273 where for our own tests it is a pain to operate on recent Win10 machines. This issue covers coming up with a better solution. One simple step would be to get the drsyscall check for whether to generate to work in standalone mode and then provide a version of drrun with it baked in? We should at least share generate_sysnum_file() as a drsyscall library routine.
The text was updated successfully, but these errors were encountered: