Constructor in shared object not called in when LD_PRELOAD-ing a go executable – Debian
There is a strange behavior around GO executable built in Alpine images where standard LD_PRELOAD feature is not working correctly. It looks like constructor functions are not called by the dynamic loader! I have an example go application (getgoogle.go): package…