https://github.com/aviralg/interceptr
Intercept C functions
https://github.com/aviralg/interceptr
c intercept ldpreload linking tracing
Last synced: 11 months ago
JSON representation
Intercept C functions
- Host: GitHub
- URL: https://github.com/aviralg/interceptr
- Owner: aviralg
- Created: 2020-02-17T02:17:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-23T15:13:27.000Z (over 6 years ago)
- Last Synced: 2025-03-22T23:44:04.019Z (over 1 year ago)
- Topics: c, intercept, ldpreload, linking, tracing
- Language: C
- Size: 50.8 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# interceptr
*interceptr* is a C library designed to intercept calls to C functions.
It forwards the arguments of overriden C functions to user defined callbacks.
This is made possible by using `LD_PRELOAD` to inject this library on application startup.
## Build
To build the library, run the following command:
```sh
$ make build
```
## Clean
To clean the build, run the following command:
```sh
$ make clean
```