Add railgun definitions for local exploit relevant functions.
Land #2758, @zeroSteiner's additions to railgun