Comments (1)
This isn't a plthook issue. This is a basic question about C/C++ programming.
If your source file name is your-program.cpp
,
$ gcc -c plthook_elf.c # This creates plthook_elf.o.
$ g++ -c your-program.cpp # This creates your-program.o.
$ g++ -o your-program your-program.o plthook_elf.o # This links your-program.o and plthook_elf.o and creates your-program.
from plthook.
Related Issues (20)
- Possible buffer overflow HOT 1
- I try to hook "glDrawElements", but it doesn't work. HOT 2
- [Android] Hook dlopen HOT 1
- Failed to find symbol when using C# runtime. HOT 2
- plthook_elf.c: plthook_open() fails on executables with local hint symbols (__INIT_ARRAY, _end) HOT 1
- None of _start, _end and __INIT_ARRAY__ present in library HOT 6
- How to hook a member function of some class in C++ ? HOT 2
- plthook_replace error: no such function: malloc HOT 2
- A minor typo issue.
- A fatal error about the handle is invalid HOT 6
- ssize_t rv was not decleared HOT 1
- Why mprotect not needed for osx? HOT 2
- Hook function inside shared library opened via `dlopen()` with `RTLD_DEEPBIND`? HOT 2
- hook function from vtable
- Library doesn't support the new LC_DYLD_CHAINED_FIXUPS and LC_DYLD_EXPORTS_TRIE macos linker commands HOT 5
- Could not find memory region containing address HOT 1
- Can I hook the function called by a referenced library? HOT 6
- Not found function "recv" and any functions from Socket API in libc HOT 2
- plthook issues on MacOS HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plthook.