basically the main.c wrapper only exists to be able to debug with gdb; otherwise a simple shell script would do.
alternatively the following might work:
(gdb) set exec-wrapper env 'LD_PRELOAD=libproxychains.so'
There was an error while loading. Please reload this page.