Prev Next Secure Lazy Binding Slide #21

sparc64 PLT Update Example

      .PLTn: sethi  (. - .PLT0), %g1      # load offset of entry
             mov    %o7, %g1              # save return address in %g1
             call   (addr - .)            # relative call
              mov   %g1, %o7              # restore return address
             nop; nop
             nop; nop

continued...


EuroBSDCon 2014 Copyright © 2014 Philip Guenther