If say I have only the binary of a another source file (no original source is available), then how to create this with my own program.
Like say I have a source file containing some function
print_hello()
Now I compile it and get the binary lib.o
Now another program test_lib.c is there which calls the function print_hello and it only has the lib.o available to it. So how to compile test_lib.c together with lib.o only.