I’m relatively inexperienced to C and C++ programming, but if it is possible to load and call symbols from shared libraries (as I understand are compiled and linked much like binaries), is it also possible to load symbols from another [executable] binary during run time?
I’m particularly interested in doing this with GCC on Linux.
Theoretically yes, you should be able to pull out object from a binary and link against it ( either statically or dynamically ) but it requires you to examine the binary structure. That is easily done since modern Linux systems all use ELF binaries, which is well documented. Suggest that you start from the wikipedia article and go from there.