Back to Mirrord

mirrord-layer

mirrord/layer/README.md

3.210.0470 B
Original Source

mirrord-layer

This part of mirrord is preloaded into a process and hooks libc functions, making them work with mirrord-agent rather than locally.

To preload mirrord-layer into a process:

  • On Linux, run LD_PRELOAD=<path-to-build-output>/mirrord-layer.so <path-to-process>
  • On macOS, run DYLD_INSERT_LIBRARIES=<path-to-build-output>/mirrord-layer.dylib <path-to-process>