Prev Next Secure Lazy Binding Slide #22

sparc64 PLT Update Example

      .PLTn: sethi  (. - .PLT0), %g1      # load offset of entry
             ba,a   %xcc, .PLT1           # jump to above
             call   (addr - .)            # relative call
              mov   %g1, %o7              # restore return address
             nop; nop
             nop; nop


EuroBSDCon 2014 Copyright © 2014 Philip Guenther