Skip to content

OSX support with DYLD_INSERT_LIBRARIES/interposing #26

@GoogleCodeExporter

Description

@GoogleCodeExporter
While OSX has dtruss which has similar output to strace, it (and anything else 
using DTrace) requires root access making it impractical.  Here is an 
alternative implementation using DYLD_INSERT_LIBRARIES, similar to LD_PRELOAD 
on Linux, to detect what files are being accessed.  This requires bundling C 
code into fabricate.py, but seems to work correctly and quickly (probably 
faster than strace as it doesn't need to use regular expressions).

Original issue reported on code.google.com by comexk@gmail.com on 15 Jul 2010 at 1:09

Attachments:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions