DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.68k stars 565 forks source link

provide cross-platform IPC #498

Open derekbruening opened 10 years ago

derekbruening commented 10 years ago

From bruen...@google.com on June 15, 2011 14:04:14

the plans for sideline symbol access ( issue #446 ) will require some kind of IPC (either shared memory or named pipes most likely). we already have shared memory examples using raw syscalls on Windows in the stats sample client (coupled with DRgui). this issue covers exposing what we use for sideline symbols as a general API so clients can also perform sideline actions using more than just files and nudges as i/o.

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

derekbruening commented 10 years ago

From bruen...@google.com on February 18, 2014 09:10:25

Update on shared memory: with better Windows API redirection our stats client now uses regular Windows API routines to set up the shared memory. But, this issue covers adding a cross-platform DR API for shared memory and other IPC.

\ TODO support dr_map_file() mapping a file as shared-write for IPC

The part that may not work today is that FILE_SHARE_WRITE may never show up on what's exposed through dr_open_file(). That's something we could add.

Cc: jannew...@google.com