Closed skeyvin closed 2 years ago
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.
where i get
the
same with plthook_open_by_address
i tried compiling it including theplthook_elf.c
and gotany help? compiling with g++