1. A computer-implemented method comprising: detecting that a computer is loading a dynamic loader in a user space, wherein the dynamic loader is configured to load computer program code; allowing, by security logic, loading the dynamic loader into memory and then suspending operation of the dynamic loader; reorganizing the computer program code into reorganized code by re-ordering a plurality of code segments of the computer program code into a new order that is different than an original order of the plurality of code segments; modifying, by the security logic, the dynamic loader in the memory to redirect one or more system or library call instructions of the dynamic loader to cause referencing the reorganized code; updating, by the security logic, a binary header of the reorganized code to reflect the new order; after the updating, allowing, by the security logic, the dynamic loader to load the reorganized code based on the binary header; wherein the method is performed by one or more computing devices.