TEXT   33
Relocation Table
Guest on 17th March 2023 01:23:22 PM


  1. align 64      ; for dumps
  2.   align 4       ; finally
  3.  
  4. RelocTable:
  5. ; for dlopen
  6.   dd      GOT+12               ; first entry is GOT[3], GOT[0..2] reserved
  7.   dd      0x0107               ; Symbol Index = 1<<8 + R_386_JMP_SLOT
  8. ; for dlsym
  9.   dd      GOT+16               ; second entry is GOT[4]
  10.   dd      0x0207               ; Symbol Index = 2<<8 + R_386_JMP_SLOT
  11. ; for dlclose
  12.   dd      GOT+20               ; third entry is GOT[5]
  13.   dd      0x0307               ; Symbol Index = 3<<8 + R_386_JMP_SLOT
  14. ; for dlerror
  15.   dd      GOT+24               ; fourth entry is GOT[6]
  16.   dd      0x0407               ;  Symbol Index =4<<8 + R_386_JMP_SLOT
  17. RelocTableSize equ $-RelocTable

Raw Paste

Login or Register to edit or fork this paste. It's free.