function to retreive the executable section