There is no guarantee that a blind code shaker will leave in everything important while stripping out everything that isn't. How could it possibly know?
If Docker-Slim is working for you in production apps, you are either getting lucky or your app is trivial enough to lack unseen code paths.
If Docker-Slim is working for you in production apps, you are either getting lucky or your app is trivial enough to lack unseen code paths.