dyninst icon indicating copy to clipboard operation
dyninst copied to clipboard

Update PowerPC thunk detection for PLT stubs

Open hainest opened this issue 6 months ago • 0 comments

A common idiom in gcc for PLT stubs is

0000000000010000 <0000001e.plt_call.__gmon_start__>:
   10000: 18 00 41 f8  std     r2,24(r1)
   10004: 38 81 82 e9  ld      r12,-32456(r2)
   10008: a6 03 89 7d  mtctr   r12
   1000c: 20 04 80 4e  bctr

With #1929, bctr has correct semantics so these can be detected now.

hainest avatar Apr 01 '25 13:04 hainest