how can I execute a function which is in a object file throgh libbfd!
Hi guys:
It like this: I hava a source file add.c int add(int a,int b){ return a+b; } then i compile it, gcc -c add.c now we get a object file add.o, I want to execute the function add(int a,int b)(the functinon in the object file add.o) how can i use libbfd to execute it? thank you ! |
Quote:
|
All times are GMT -5. The time now is 09:13 PM. |