function-interposition Questions

6

Solved

Reading through my book Expert C Programming, I came across the chapter on function interpositioning and how it can lead to some serious hard to find bugs if done unintentionally. The example give...
Tetraspore asked 6/5, 2010 at 16:53

3

Solved

I’ve written a shared object that modifies the arguments to FreeType’s FT_Load_Glyph and FT_Render_Glyph functions, currently by interposing it with LD_PRELOAD and dlsym. This works fine, but I’m ...
Ced asked 10/5, 2016 at 21:0

1

I want to write a shared library in such a way that it is possible to isolate it’s memory usage from the application it is linked against. That is, if the shared library, let’s call it libmemory.so...
Medicate asked 28/1, 2016 at 21:34

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...

3

Solved

Using function interposition for open() with Python doesn't seem to work after the first few calls. I suspect Python is doing some kind of initialization, or something is temporarily bypassing my f...
Barbour asked 21/6, 2011 at 7:26

4

Solved

I'm currently working on a project where I need to track the usage of several system calls and low-level functions like mmap, brk, sbrk. So far, I've been doing this using function interposition: I...
Coed asked 15/6, 2009 at 21:22
1

© 2022 - 2024 — McMap. All rights reserved.