DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.63k stars 557 forks source link

64-bit drwrap mixed-mode support for wrapping and replacing 32-bit functions #1475

Open derekbruening opened 9 years ago

derekbruening commented 9 years ago

From bruen...@google.com on July 16, 2014 12:17:57

This issue covers adding support for wrapping and replacing 32-bit functions when using a 64-bit-compiled drwrap in mixed-mode (on Windows for now, until we have issue #1345):

drwrap wrap:

drwrap replace_native:

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

byron-hawkins commented 9 years ago

drwrap now supports the common 32-bit calling conventions via flags: xref #1772. The 32-bit flags are available in a 64-bit build, though I don't think it has been tested in mixed mode.