Artificial intelligent assistant

Is it possible to call an executable's functions? I want to find out whether it is possible to circumvent an executable's gui by calling the programs internal worker methods/functions directly. Assuming the executables are C/C++ programs with a working Gnome or KDE interfaces on Linux.

This can be done in special cases. What you describe is something like dynamically loading plugins via the C dynamic linking loader: try `man dlopen` for details on that. Usually the code so called has to be compiled as "position independent", so you're almost certainly out of luck for any specific program.

You could look at userland exec code for some hints on how this might be done, but it almost certainly won't work to do what you describe.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy a9a75d99a8776daad69c4aa6d6d26cc1