library-interposition Questions

1

Solved

I have a created shared library which interposes malloc() and related calls. The works well but for some caveats. There is one thing that does not work. I am expecting to be able to chain interpose...
Foghorn asked 15/4, 2022 at 9:39

1

Solved

I want to intercept the connect() system call and use my own custom implementation. The custom implementation will do some action like printing a log for simplicity and then call the system impleme...

2

Solved

I am trying to intercept all system calls made by my Android app on a non rooted device. So every time my app writes/reads a file, I want to intercept the system call and encrypt/decrypt the strea...

2

How do I, at run-time (no LD_PRELOAD), intercept/hook a C function like fopen() on Linux, a la Detours for Windows? I'd like to do this from Python (hence, I'm assuming that the program is already ...
Reverie asked 3/2, 2011 at 23:28

2

Solved

I need to interpose on a method call in a C++ program (the class resides in a separate shared library). I thought I could use LD_PRELOAD, but i am not sure how this would work (i only found example...
Biotype asked 5/8, 2010 at 0:50
1

© 2022 - 2024 — McMap. All rights reserved.