1. A method comprising: receiving, by one or more processors, an executable file for execution by an operating system, wherein the executable file includes a plurality of sections in a first order; determining, by the one or more processors, a second order that indicates a loading order for the plurality of sections, wherein the second order is distinct from the first order; loading, by the one or more processors, the plurality of sections of the executable file into a plurality of locations in memory of a device based, at least in part, on the second order; resolving, by the one or more processors, one or more memory references for the plurality of sections based, at least in part, on the plurality of locations in memory; and executing, by the one or more processors, the plurality of sections of the executable file in the plurality of locations in memory.