Fix reading elf section from file buffer
Fix reading elf section from file buffer

(cherry picked from commit d2e162676d9a69f4a175b09bee46e3450e5c86b8)

xwu/swift,xwu/swift,gregomni/swift,hooman/swift,JGiola/swift,glessard/swift,tkremenek/swift,atrick/swift,benlangmuir/swift,hooman/swift,xwu/swift,glessard/swift,hooman/swift,tkremenek/swift,benlangmuir/swift,apple/swift,hooman/swift,tkremenek/swift,apple/swift,gregomni/swift,xwu/swift,xwu/swift,xwu/swift,ahoppen/swift,glessard/swift,parkera/swift,parkera/swift,ahoppen/swift,benlangmuir/swift,roambotics/swift,rudkx/swift,roambotics/swift,parkera/swift,JGiola/swift,gregomni/swift,gregomni/swift,hooman/swift,rudkx/swift,ahoppen/swift,tkremenek/swift,JGiola/swift,parkera/swift,xwu/swift,rudkx/swift,atrick/swift,gregomni/swift,hooman/swift,benlangmuir/swift,JGiola/swift,hooman/swift,apple/swift,atrick/swift,tkremenek/swift,atrick/swift,roambotics/swift,atrick/swift,glessard/swift,tkremenek/swift,JGiola/swift,JGiola/swift,atrick/swift,rudkx/swift,ahoppen/swift,gregomni/swift,rudkx/swift,roambotics/swift,rudkx/swift,benlangmuir/swift,roambotics/swift,parkera/swift,parkera/swift,tkremenek/swift,ahoppen/swift,glessard/swift,benlangmuir/swift,glessard/swift,roambotics/swift,apple/swift,parkera/swift,apple/swift,apple/swift,parkera/swift,ahoppen/swift